OSDN Git Service

Synchronize our timestamps with the SystemClock.getRealtimeNanos
authorAdriana Reus <adriana.reus@intel.com>
Mon, 20 Oct 2014 17:12:36 +0000 (20:12 +0300)
committerAdriana Reus <adriana.reus@intel.com>
Tue, 21 Oct 2014 13:27:04 +0000 (16:27 +0300)
commit8f3c496d2dfdfdcda8455100b08f7a9938692fe0
tree06fcf97f6195dd9cfbeeafa795c8f303c8d6987e
parent60c1864f4fd6d8283600d55d1dae9b98e40c5922
Synchronize our timestamps with the SystemClock.getRealtimeNanos

It seems we get unsynced after a suspend/resume cycle.
Sync the clocks once per sensor enabling.
CDD required us to be in sync anyway.

Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-1535
Change-Id: I2422551837832575492ee2d0c1a7adb1163b3167
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
common.h
control.c
utils.c
utils.h