Closed cyberman54 closed 3 years ago
millis()
in arduino esp32 is based on esp_timer_get_time(void)
which will roll over in 100+ years. But it's defined as unsigned long, so will roll over after ~49 days!?
unsigned long IRAM_ATTR millis()
{
return (unsigned long) (esp_timer_get_time() / 1000ULL);
}
Tests showed, that devices do live more than 49 days. I don't yet understand why, but it seems this is not an issue, so i am closing this.
Check what's happening, and how to solve concerning issues.