Commit d6920625 authored by Michał Barnaś's avatar Michał Barnaś Committed by Anas Nashif
Browse files

doc: remove incorrect info about sensor_value



After removing the "type" and "dval" members, the documenation still
referred to these fields. This commit removes the paragraph
about checking the type of values returned from sensor.

Signed-off-by: default avatarMichał Barnaś <mb@semihalf.com>
parent dd66bdad
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -55,12 +55,6 @@ compensates data for both channels.
   :lines: 12-
   :linenos:

The example assumes that the returned values have type :c:struct:`sensor_value`,
which is the case for BME280.  A real application
supporting multiple sensors should inspect the :c:data:`type` field of
the :c:data:`temp` and :c:data:`press` values and use the other fields
of the structure accordingly.

Configuration and Attributes
****************************