From 8e29e51a57bd92be5a109967add00900fcaf4642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Mihel=C4=8Di=C4=87?= <24branimir.m@gmail.com> Date: Thu, 22 Feb 2024 18:44:46 +0100 Subject: [PATCH] doc: os-services: sensing: fix code snippet typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DT_NODELABLE() doesn't exist as s macro, should say DT_NODELABEL() instead Signed-off-by: Branimir Mihelčić <24branimir.m@gmail.com> --- doc/services/sensing/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/services/sensing/index.rst b/doc/services/sensing/index.rst index fac113a1772..96ec1927caf 100644 --- a/doc/services/sensing/index.rst +++ b/doc/services/sensing/index.rst @@ -136,7 +136,7 @@ there're two methods for Applications to identify and open an unique sensor inst .. 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); This method is useful and easy use for some simple Application which just want to access specific