zephyr/samples/sensor
Marcus Shawcroft f0da59b062 sensor: Fix samples that assume incorrect sensor_value type.
Various sensor samples are hardwired to expect returned sensor values
are represented as doubles.  In each case this assumption is incorrect.

Introduce a generic sensor_value to double helper function and adjust
the samples to use it.

Change-Id: I89c788686576562b84e07a36064640231340c33b
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2017-01-08 16:16:15 +00:00
..
bme280 samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
bmg160 sensor: remove SENSOR_VALUE_TYPE_INT 2016-12-13 21:51:10 +00:00
bmi160 samples: bmi160: use correct spi dev name 2016-12-24 13:35:43 +00:00
fxos8700 samples: Add the ARG_UNUSED macro 2016-12-21 12:54:53 +00:00
magn_polling sensor: Fix samples that assume incorrect sensor_value type. 2017-01-08 16:16:15 +00:00
max44009 sensor: Fix samples that assume incorrect sensor_value type. 2017-01-08 16:16:15 +00:00
mcp9808 samples: sensors: fix documentation layout of MCP9808 sample 2017-01-06 16:32:31 -05:00
sx9500 samples/sensors: Update README files 2016-11-26 10:46:10 +00:00
th02 sensor: Fix samples that assume incorrect sensor_value type. 2017-01-08 16:16:15 +00:00
thermometer sensor: remove SENSOR_VALUE_TYPE_INT 2016-12-13 21:51:10 +00:00
tmp112 sensor: remove SENSOR_VALUE_TYPE_INT 2016-12-13 21:51:10 +00:00
sensor.rst doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00