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 <parthsanepara@gmail.com>
This commit is contained in:
Parth Sanepara 2024-12-17 12:07:25 +00:00 committed by Benjamin Cabé
commit de234b6742
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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.