Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Nov 20, 2024
1 parent 2505177 commit b8babfe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Wippersnapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2737,12 +2737,10 @@ void get_and_print_reset_reason_for_cpu(int cpuCore) {
// end of ARDUINO_ARCH_ESP32
#elif defined(ARDUINO_ARCH_RP2040)

void print_reset_reason()
{
void print_reset_reason() {
RP2040::resetReason_t reason = rp2040.getResetReason();
WS_DEBUG_PRINT("RP2040 RESET REASON: ");
switch (reason)
{
switch (reason) {
case RP2040::resetReason_t::UNKNOWN_RESET:
WS_DEBUG_PRINTLN("Unknown Reset");
case RP2040::resetReason_t::PWRON_RESET:
Expand Down

0 comments on commit b8babfe

Please sign in to comment.