mirror of
https://github.com/esphome/esphome.git
synced 2025-01-07 13:21:44 +01:00
clang
This commit is contained in:
parent
10605b7e15
commit
575a5e49eb
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ std::string DebugComponent::get_reset_reason_() {
|
|||
case ESP_RST_SDIO:
|
||||
reset_reason = "Reset over SDIO";
|
||||
break;
|
||||
#ifdef USE_ESP_IDF && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
|
||||
#if defined(USE_ESP_IDF) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
|
||||
case ESP_RST_USB:
|
||||
reset_reason = "Reset by USB peripheral";
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue