Merge branch 'bugfix/esp-system-warnings' into 'master'

system: minor fixes of warnings

See merge request espressif/esp-idf!18310
This commit is contained in:
Anton Maklakov
2022-05-30 19:33:01 +08:00
8 changed files with 33 additions and 18 deletions

View File

@@ -70,7 +70,7 @@ void app_main(void)
int64_t t2 = esp_timer_get_time();
ESP_LOGI(TAG, "Woke up from light sleep, time since boot: %lld us", t2);
assert(abs((t2 - t1) - 500000) < 1000);
assert(llabs((t2 - t1) - 500000) < 1000);
/* Let the timer run for a little bit more */
usleep(2000000);