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
GMIN-3044: Fix a few edge cases in filtering code
[android-x86/hardware-intel-libsensors.git]
/
control.c
diff --git
a/control.c
b/control.c
index
1eff290
..
3a827ae
100644
(file)
--- a/
control.c
+++ b/
control.c
@@
-563,6
+563,7
@@
int sensor_activate(int s, int enabled)
if (sensor_info[s].history) {
free(sensor_info[s].history);
sensor_info[s].history = NULL;
+ sensor_info[s].history_size = 0;
}
return 0;
}