OSDN Git Service

change sensor HAL documentation to allow setting polling rate for "non continuous...
authorMathias Agopian <mathias@google.com>
Wed, 2 Nov 2011 02:17:58 +0000 (19:17 -0700)
committerMathias Agopian <mathias@google.com>
Wed, 2 Nov 2011 02:17:58 +0000 (19:17 -0700)
commit15879d89af055f6cd651a94125a3802b526c3d66
treeacc38f3fc76ff6d03c1b1d7f9e2e3cb65e80cfc3
parentcf209523884350a3ad6af5840f1b0ae2dde9b98b
change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
include/hardware/sensors.h