OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libsensors: Import OTC sensor HAL for HSB and adapt to Android KK
[android-x86/hardware-intel-libsensors.git]
/
OrientationSensor.cpp
diff --git
a/common/libsensors/OrientationSensor.cpp
b/OrientationSensor.cpp
similarity index 97%
rename from
common/libsensors/OrientationSensor.cpp
rename to
OrientationSensor.cpp
index
7ec83b2
..
1696b87
100644
(file)
--- a/
common/libsensors/OrientationSensor.cpp
+++ b/
OrientationSensor.cpp
@@
-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 = {},
};