Files
OpenCellular/common
Gwendal Grignou b98e33c950 common: motion: Fix oversampling calculation.
Was setting frequency radix at 1 mHz.
That would limit frequency to 32Hz, which is not enough for
accelerometor.
Set radix as a fixed point or float variable, to calculate
the rate properly.

BRANCH=smaug
BUG=None
TEST=Check that when Ryu set accelerometer to 100Hz internally (for
double tap), that AP gets data when requested frequency is 15Hz.

Change-Id: I84e0ea784f8bd04566aa91bc4300cf4ff30b350c
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/298688
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2015-09-19 15:18:09 -07:00
..
2013-12-20 05:07:58 +00:00
2014-05-21 20:32:17 +00:00
2015-06-04 19:33:00 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-05-19 02:46:27 +00:00
2015-09-17 19:00:54 -07:00
2014-03-06 21:33:09 +00:00
2015-08-22 01:37:51 +00:00
2014-01-14 09:19:45 +00:00
2015-09-16 14:49:31 -07:00
2014-05-17 20:14:17 +00:00
2013-12-19 00:12:28 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-09-16 14:49:47 -07:00
2015-05-19 02:46:27 +00:00