mirror of
https://github.com/esphome/esphome.git
synced 2025-03-28 19:29:00 +01:00
Adjust flags for arduino
This commit is contained in:
parent
f68a60261f
commit
10605b7e15
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;
|
||||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
|
#ifdef 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…
Add table
Reference in a new issue