projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c4d8680
)
Merge branch 'devel/tizen_3.0' into tizen
85/70985/1
accepted/tizen/common/20160526.145737
accepted/tizen/ivi/20160524.004525
accepted/tizen/mobile/20160524.004456
accepted/tizen/tv/20160524.004516
accepted/tizen/wearable/20160524.004424
submit/tizen/20160523.074005
author
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 23 May 2016 12:51:29 +0000
(21:51 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 23 May 2016 12:51:33 +0000
(21:51 +0900)
* devel/tizen_3.0:
sensord: fix default interval when there is no client which registers event
Change-Id: I8fd5947339dea0ce349de671215ea0e02466f7bc
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;
}