fixing help text

This commit is contained in:
Sam Chin 2025-06-09 16:32:42 +08:00
parent c291b6a11f
commit d1b5a41e82

View file

@ -33,8 +33,7 @@ impl<'a> ShellCmdApi<'a> for I2cDetect {
let mut ret = String::new();
let helpstring = "Usage:
i2cdetect probe <hex> - probes a single I2C address (e.g. 34)
i2cdetect scan - reads
i2cdetect bmp180_temp - reads raw temperature from BMP180";
i2cdetect scan - reads all addresses on the bus (use with caution!)"
let mut tokens = args.split_whitespace();