commit | f0da59b0620545282fe4fb805d68d4c57940668f | [log] [tgz] |
---|---|---|
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | Wed Jan 04 20:22:54 2017 +0000 |
committer | Anas Nashif <nashif@linux.intel.com> | Sun Jan 08 16:16:15 2017 +0000 |
tree | 980e7cc6acf8e5d343198bc24948106586daf6b3 | |
parent | e54e66a3d0cf264d66254006b06363567bbe2dc0 [diff] |
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>