Skip to content

Commit

Permalink
adding flash speed to debug output
Browse files Browse the repository at this point in the history
small change
  • Loading branch information
softhack007 committed Oct 30, 2022
1 parent b97fb0d commit 172911f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wled00/wled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,12 @@ void WLED::setup()
// missing: Octal modes
case FM_QIO: DEBUG_PRINT(F(" (QIO)")); break;
case FM_QOUT: DEBUG_PRINT(F(" (QOUT)"));break;
case FM_DIO: DEBUG_PRINT(F(" (DIO)")); break;
case FM_DOUT: DEBUG_PRINT(F(" (DOUT)"));break;
case FM_DIO: DEBUG_PRINT(F(" (DIO?)")); break;
case FM_DOUT: DEBUG_PRINT(F(" (DOUT?)"));break;
default: break;
}
#endif
DEBUG_PRINT(F(", ")); DEBUG_PRINT(int(ESP.getFlashChipSpeed()/1000000)); DEBUG_PRINTLN(F("MHz"));
// WLEDSR end
#else
DEBUG_PRINT(F("esp8266 "));
Expand Down

0 comments on commit 172911f

Please sign in to comment.