added debug test call for cron scheduler

This commit is contained in:
Bogdan Pilyugin 2023-05-07 17:33:33 +02:00
parent 482138c7b2
commit e61503b922

View File

@ -125,6 +125,7 @@ void TimeObtainHandler(struct timeval *tm)
void DebugTimer()
{
/*
time_t now;
time(&now);
ESP_LOGW(TAG, "Timestamp %d", (unsigned int )now);
@ -138,6 +139,8 @@ void DebugTimer()
ESP_LOGW(TAG, "Timer %d prev: %u", i, (unsigned int )cron_prev(&cron_exp, now));
ESP_LOGW(TAG, "Timer %d next: %u", i, (unsigned int )cron_next(&cron_exp, now));
}
*/
ExecuteLastAction();
}
esp_err_t ReloadCronSheduler()