commit | 98ec73b2c01d7be954932327eec43eeb47b05fcb | [log] [tgz] |
---|---|---|
author | Maureen Helm <maureen.helm@nxp.com> | Mon Feb 24 19:25:21 2020 -0600 |
committer | Kumar Gala <kumar.gala@gmail.com> | Fri Apr 03 12:52:06 2020 -0500 |
tree | fbdb96d5225b4b46e88823f724ad389e8a23876b | |
parent | c2a6e23d3798e27fa4d78803e5bf02259a6f289b [diff] |
samples: sensor: Add a delay to the fxos8700 sample loop The fxos8700 sample application configures the sensor driver to sample data at 6.25 Hz. Most configurations use the sensor data ready interrupt to throttle the loop, but it's possible to configure the sample not to use the data ready interrupt. In this case, throttle the loop with a delay so it doesn't outpace the sensor data. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>