correct logging level for error

This commit is contained in:
Marius Gripp 2019-09-02 16:55:14 +02:00
parent 2530bd4235
commit 004444dea3

View File

@ -249,7 +249,7 @@ void IRAM_ATTR setMyTime(uint32_t t_sec, uint16_t t_msec,
struct timeval tv;
struct timezone tz;
if(gettimeofday(&tv, &tz) != 0) {
ESP_LOGI(TAG, "ERROR gettimeofday");
ESP_LOGE(TAG, "ERROR gettimeofday");
}
struct timeval beforeTime = tv;