From 43703fd6c7e284d46ca67a08daf50a4121ac0cb2 Mon Sep 17 00:00:00 2001 From: Belozerov Alexander Date: Thu, 2 May 2024 21:55:13 +0300 Subject: [PATCH] Bugfix: cron timers not initialized during boot. --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.c b/src/timer.c index 2b458e7..b0da406 100644 --- a/src/timer.c +++ b/src/timer.c @@ -521,7 +521,7 @@ void USER_FUNC timer_init(void) "timer", 512, state, HFTHREAD_PRIORITIES_LOW, NULL, NULL) != HF_SUCCESS) { u_printf("timer thread create failed!\n"); } - + parse_crontab(); httpd_add_page("/timer", httpd_page_timer, NULL); httpd_add_page("/ntp", httpd_page_ntp, NULL); }