From 0eb380972167eb352d8d5860bcd2308ae2c790fe Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Mon, 9 Nov 2020 10:54:47 +0600 Subject: [PATCH] Fix last_wake_time reset to current time on each loop iteration. --- main/app_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/app_main.c b/main/app_main.c index e8bfafd..68d8024 100644 --- a/main/app_main.c +++ b/main/app_main.c @@ -174,8 +174,6 @@ _Noreturn void app_main() while (1) { - last_wake_time = xTaskGetTickCount(); - ds18b20_convert_all(owb); // In this application all devices use the same resolution,