From 2f79d6f7733993d4eb5e9bdaf29add9d303f18c5 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 29 May 2018 19:49:33 +0900 Subject: Set timer accuracy 1 Change-Id: Ia67546ec68263aa2785e83493e4935dc82feda95 Signed-off-by: Kazumasa Mitsunari --- src/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit 1.2.3-korg