esp_system: Adds sync of FRC & RTC counters in esp_restart
In case when FRC and RTC counters are very different then the need to sync them before to restart the ESP to get the correct system time after reboot.
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
#include "esp32h2/memprot.h"
|
||||
#endif
|
||||
|
||||
#define SHUTDOWN_HANDLERS_NO 4
|
||||
#define SHUTDOWN_HANDLERS_NO 5
|
||||
|
||||
static shutdown_handler_t shutdown_handlers[SHUTDOWN_HANDLERS_NO];
|
||||
|
||||
void IRAM_ATTR esp_restart_noos_dig(void)
|
||||
|
||||
Reference in New Issue
Block a user