From 58f0d62c6ca256ae27f6c35790564964cd6fc08f Mon Sep 17 00:00:00 2001 From: bogdan Date: Sun, 7 May 2023 17:50:53 +0200 Subject: [PATCH] debug messages refactored --- HTML/application.html | 2 +- main/src/CronTimers.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HTML/application.html b/HTML/application.html index 9438df1..b18e571 100644 --- a/HTML/application.html +++ b/HTML/application.html @@ -46,7 +46,7 @@ function dbgtmr(){PostData("tmrdbg=1", "application.html", false, false, false);
- + diff --git a/main/src/CronTimers.c b/main/src/CronTimers.c index 51dea90..f0db2d2 100644 --- a/main/src/CronTimers.c +++ b/main/src/CronTimers.c @@ -56,7 +56,7 @@ void custom_cron_job_callback(cron_job *job) //here call all timers jobs depends on object and action time_t now; time(&now); - ESP_LOGI(TAG, "Executed timer '%s' action %d under object %d at time %d", name, act, obj, (unsigned int )now); + ESP_LOGI(TAG, "Execute scheduler '%s' action %d under object %d at time %d", name, act, obj, (unsigned int )now); custom_cron_execute(obj, act); return; } @@ -108,7 +108,7 @@ static void ExecuteLastAction() if(act != -1) { - ESP_LOGW(TAG, "Needed execute lost action %d with object %d", act, obj); + ESP_LOGW(TAG, "Execute last action %d with object %d", act, obj); custom_cron_execute(obj, act); }