main/task_wifi.c

changeset 62
2e90ada37476
parent 61
c7b8a9931b59
child 70
d6838a268020
--- a/main/task_wifi.c	Thu Jul 04 15:57:43 2019 +0200
+++ b/main/task_wifi.c	Thu Jul 04 21:46:12 2019 +0200
@@ -356,7 +356,7 @@
         localtime_r(&now, &timeinfo);
 	System_TimeOk = true;
         strftime(strftime_buf, sizeof(strftime_buf), "%c", &timeinfo);
-        ESP_LOGI(TAG, "NTP time is set: %s", strftime_buf);
+	log_msg(TAG, "NTP time is set: %s", strftime_buf);
     } else {
     	ESP_LOGI(TAG, "NTP unknown time sync event rc=%d", rc);
     }

mercurial