doc: os-services: sensing: fix code snippet typo

DT_NODELABLE() doesn't exist as s macro, should say DT_NODELABEL() instead

Signed-off-by: Branimir Mihelčić <24branimir.m@gmail.com>
This commit is contained in:
Branimir Mihelčić 2024-02-22 18:44:46 +01:00 committed by Alberto Escolar
parent f250080af6
commit 8e29e51a57

View file

@ -136,7 +136,7 @@ there're two methods for Applications to identify and open an unique sensor inst
.. code-block:: c .. code-block:: c
sensing_open_sensor_by_dt(DEVICE_DT_GET(DT_NODELABLE(base_accel)), cb_list, handle); sensing_open_sensor_by_dt(DEVICE_DT_GET(DT_NODELABEL(base_accel)), cb_list, handle);
sensing_open_sensor_by_dt(DEVICE_DT_GET(DT_CHOSEN(zephyr_sensing_base_accel)), cb_list, handle); sensing_open_sensor_by_dt(DEVICE_DT_GET(DT_CHOSEN(zephyr_sensing_base_accel)), cb_list, handle);
This method is useful and easy use for some simple Application which just want to access specific This method is useful and easy use for some simple Application which just want to access specific