aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-29 19:49:33 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-29 19:49:33 +0900
commit2f79d6f7733993d4eb5e9bdaf29add9d303f18c5 (patch)
tree9d489077a55af91335f8ccbefaafc117ee847f25
parent495ecf8924c84308aca15ef1b4a158793cdaf8cd (diff)
Set timer accuracy 1
Change-Id: Ia67546ec68263aa2785e83493e4935dc82feda95 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 0bdae76..58fc036 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -413,7 +413,7 @@ void App::set_timer(){
{
// firsttime set into sd_event
int ret = sd_event_add_time(afb_daemon_get_event_loop(), &timer_ev_src,
- CLOCK_REALTIME, time(NULL) * (1000000UL) + TIME_OUT, 0, processTimerHandler, this);
+ CLOCK_REALTIME, time(NULL) * (1000000UL) + TIME_OUT, 1, processTimerHandler, this);
if (ret < 0)
{
HMI_ERROR("wm", "Could't set timer");