esp_system: Adds sync of FRC & RTC counters in esp_restart (v4.3)

This commit is contained in:
Konstantin Kondrashov
2021-10-28 17:33:46 +00:00
committed by Zim Kalinowski
parent 534ca101e4
commit 8140b10a16
4 changed files with 118 additions and 2 deletions

View File

@@ -16,8 +16,8 @@
#include "esp32c3/memprot.h"
#endif
#define SHUTDOWN_HANDLERS_NO 5
#define SHUTDOWN_HANDLERS_NO 4
static shutdown_handler_t shutdown_handlers[SHUTDOWN_HANDLERS_NO];
esp_err_t esp_register_shutdown_handler(shutdown_handler_t handler)