esp_system: Add reset reasons for USB_UART and USB_JTAG

Merges https://github.com/espressif/esp-idf/pull/10950
This commit is contained in:
Nebojsa Cvetkovic
2023-03-09 01:23:22 +00:00
committed by morris
parent 690aa433a2
commit 67e9db7cf5
6 changed files with 21 additions and 0 deletions
@@ -33,6 +33,7 @@ typedef enum {
ESP_RST_DEEPSLEEP, //!< Reset after exiting deep sleep mode
ESP_RST_BROWNOUT, //!< Brownout reset (software or hardware)
ESP_RST_SDIO, //!< Reset over SDIO
ESP_RST_USB, //!< Reset by USB peripheral
} esp_reset_reason_t;
/**