Browse Source

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>
pull/83150/head
Parth Sanepara 7 months ago committed by Benjamin Cabé
parent
commit
de234b6742
  1. 2
      doc/connectivity/networking/api/coap_server.rst
  2. 2
      samples/sensor/lsm6dso/README.rst

2
doc/connectivity/networking/api/coap_server.rst

@ -173,7 +173,7 @@ of CoAP services. An example using a temperature sensor can look like: @@ -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);

2
samples/sensor/lsm6dso/README.rst

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

Loading…
Cancel
Save