mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +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:
|
case ESP_RST_SDIO:
|
||||||
reset_reason = "Reset over SDIO";
|
reset_reason = "Reset over SDIO";
|
||||||
break;
|
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:
|
case ESP_RST_USB:
|
||||||
reset_reason = "Reset by USB peripheral";
|
reset_reason = "Reset by USB peripheral";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue