mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
sensor_shell: Update to new sensor_read API
Update the sensor shell logic to use the new sensor_read() APIs and make triggers an option of the sensor_shell sample (this avoids the trigger stealing the interrupt status from one-shot reads). Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
committed by
Maureen Helm
parent
ed380de152
commit
ca5bf10143
@@ -114,7 +114,7 @@ kobjects = OrderedDict([
|
||||
("ztest_test_rule", ("CONFIG_ZTEST_NEW_API", True, False)),
|
||||
("rtio", ("CONFIG_RTIO", False, False)),
|
||||
("rtio_iodev", ("CONFIG_RTIO", False, False)),
|
||||
("sensor_decoder_api", ("CONFIG_SENSOR", True, False))
|
||||
("sensor_decoder_api", ("CONFIG_SENSOR_ASYNC_API", True, False))
|
||||
])
|
||||
|
||||
def kobject_to_enum(kobj):
|
||||
|
||||
Reference in New Issue
Block a user