projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf96b7
)
sensord: fix default interval when there is no client which registers event
84/70984/1
author
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 23 May 2016 12:47:05 +0000
(21:47 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 23 May 2016 12:47:05 +0000
(21:47 +0900)
- POLL_MAX_HZ_MS is too big, so it has to be changed to POLL_10HZ_MS(default)
Change-Id: I611c0983c601c02ab822b700efda4153dcb6a420
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/client/sensor_handle_info.cpp
patch
|
blob
|
history
diff --git
a/src/client/sensor_handle_info.cpp
b/src/client/sensor_handle_info.cpp
index
99647d7
..
69ccac4
100644
(file)
--- a/
src/client/sensor_handle_info.cpp
+++ b/
src/client/sensor_handle_info.cpp
@@
-130,7
+130,7
@@
void sensor_handle_info::get_batch(unsigned int &interval, unsigned int &latency
{
if (m_reg_event_infos.empty()) {
_D("No events are registered for client %s", get_client_name());
- interval = POLL_
MAX_
HZ_MS;
+ interval = POLL_
10
HZ_MS;
latency = 0;
return;
}