drivers: sensor: shell: Improved shell support for sensors
Added autocompletion to 'sensor get' command. After this change device and channels are autocompleted. It is possible to provide multiple channels for reading. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
efeb7fa771
commit
95b4d37230
2 changed files with 102 additions and 106 deletions
|
@ -22,6 +22,8 @@ config SENSOR_INIT_PRIORITY
|
|||
|
||||
config SENSOR_SHELL
|
||||
bool "Enable sensor shell"
|
||||
depends on SHELL
|
||||
default y
|
||||
help
|
||||
This shell provides access to basic sensor data.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue