OSDN Git Service

libsensors: Import OTC sensor HAL for HSB and adapt to Android KK
[android-x86/hardware-intel-libsensors.git] / OrientationSensor.cpp
similarity index 97%
rename from common/libsensors/OrientationSensor.cpp
rename to OrientationSensor.cpp
index 7ec83b2..1696b87 100644 (file)
@@ -29,6 +29,8 @@ const struct sensor_t OrientationSensor::sSensorInfo_orientation = {
     .resolution = 1./512, // Advertise as 9 bits, no idea about reality
     .power      = 0.1f,
     .minDelay   = 0,
+    .fifoReservedEventCount = 0,
+    .fifoMaxEventCount      = 0,
     .reserved   = {},
 };