From de234b6742514e71c9a865cdcd9d53f0b32d25b1 Mon Sep 17 00:00:00 2001 From: Parth Sanepara Date: Tue, 17 Dec 2024 12:07:25 +0000 Subject: [PATCH] doc: correct typo from 'date' to 'data' in README Fixed a typo in this two files. lsm6dso README and coap_server document file Signed-off-by: Parth Sanepara --- doc/connectivity/networking/api/coap_server.rst | 2 +- samples/sensor/lsm6dso/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/connectivity/networking/api/coap_server.rst b/doc/connectivity/networking/api/coap_server.rst index 04498098818..9fb29a7ffda 100644 --- a/doc/connectivity/networking/api/coap_server.rst +++ b/doc/connectivity/networking/api/coap_server.rst @@ -173,7 +173,7 @@ of CoAP services. An example using a temperature sensor can look like: coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, COAP_CONTENT_FORMAT_TEXT_PLAIN); - /* Get the sensor date */ + /* Get the sensor data */ sensor_sample_fetch_chan(dev, SENSOR_CHAN_AMBIENT_TEMP); sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &value); temp = sensor_value_to_double(&value); diff --git a/samples/sensor/lsm6dso/README.rst b/samples/sensor/lsm6dso/README.rst index 2f82e28f187..a55a0424036 100644 --- a/samples/sensor/lsm6dso/README.rst +++ b/samples/sensor/lsm6dso/README.rst @@ -7,7 +7,7 @@ Overview ******** -This sample sets the date rate of LSM6DSO accelerometer and gyroscope to +This sample sets the data rate of the LSM6DSO accelerometer and gyroscope to 12.5Hz and enables a trigger on data ready. It displays on the console the values for accelerometer and gyroscope.