OSDN Git Service

Add the TYPE_MAGNETIC_FIELD_UNCALIBRATED sensor
authorAdriana Reus <adriana.reus@intel.com>
Fri, 19 Dec 2014 09:16:47 +0000 (11:16 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Thu, 8 Jan 2015 09:14:54 +0000 (11:14 +0200)
commit50085d7944f4bb7d40787ba8bd31a18396778544
treeccbee883c6b35df5e78f214ae10989eb5be33fbe
parentbe25f03c702f4ca2834c789cf808fe68e6220c4f
Add the TYPE_MAGNETIC_FIELD_UNCALIBRATED sensor

Add the uncalibrated magnetometer type.
Added a single function for checking and adding virtual sensors.
Moved the timestamp handling for polling sensors so that we get a
timestamp before finalize is called.
Also moved the event drop (for sensors not directly enabled)
from finalize to propagate_sensor_report because for polling
sensors we need to signal an fd when we have an event,
and this is made by looking at the finalize return value.

Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-2744
Change-Id: I12abd38329ef7f59b2b13427c47a235b54f75fb2
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
control.c
description.c
enumeration.c
transform.c