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: Michał Barnaś <mb@semihalf.com>
This commit is contained in:
parent
dd66bdadfa
commit
d692062577
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
****************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue