From 94cb5cd9357ad596dfc986c5acbcda0cb08e7386 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Mon, 22 May 2017 17:45:03 -0500 Subject: [PATCH] Sleep even if clock not synchronized --- src/scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler.c b/src/scheduler.c index 811224a..e18b088 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -128,7 +128,7 @@ static void offset_timer_cb(void * p_context) { break; case SCHEDULER_STATE_REPORTING: CLEAR_LED(LED_GREEN); - if (m_sleep_enabled && clock_is_synchronized()) { + if (m_sleep_enabled) { do_sleep(); } m_scheduler_state = SCHEDULER_STATE_SLEEP;