zephyr/drivers/sensor/ccs811
Aapo Vienamo 0a6f8c1aa2 drivers: sensor: ccs811: Fix value conversion
The arithmetic performed on the CO2 and VOC measurements is pointless as
the units of the sensor already match those of the API, furthermore the
multiplication will overflow the u32_t with CO2 or VOC readings greater
than 4294 ppm or ppb. This CO2 concentration is achievable by breathing
at the sensor.

Signed-off-by: Aapo Vienamo <aapo.vienamo@iki.fi>
2018-03-05 13:23:38 -06:00
..
ccs811.c drivers: sensor: ccs811: Fix value conversion 2018-03-05 13:23:38 -06:00
ccs811.h
CMakeLists.txt
Kconfig sensors: css811: Use HAS_DTS_I2C_DEVICE in Kconfig 2018-03-05 11:22:47 -06:00