commit | a213fb4e271b5756d369ff21341cb34913d705d1 | [log] [tgz] |
---|---|---|
author | Sergio Rodriguez <sergio.sf.rodriguez@intel.com> | Thu Dec 08 18:59:44 2016 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Sun Dec 11 04:30:02 2016 +0000 |
tree | fb94a1698db497075a1fbf9f3fea14a0ba87cc67 | |
parent | 3fcb9c4ec2cba9a95262764d7044865aa4f3e713 [diff] |
samples: sensor: fxos8700: Check sample fetch return value The sample was reading the sample values regardless of return value of the fetch sample function, now it exits the function and prints an error message Coverity-CID: 157576 Change-Id: If9a909ed9b617357a032c5632ac04984846d6744 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>