Skip to content
Commit f0da59b0 authored by Marcus Shawcroft's avatar Marcus Shawcroft Committed by Anas Nashif
Browse files

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: default avatarMarcus Shawcroft <marcus.shawcroft@arm.com>
parent e54e66a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment