Skip to content

Commit

Permalink
fixed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Nov 21, 2023
1 parent b07685c commit cf77483
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/EventDispatcher/EventDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void EventDispatcher::update()
}
else
{
#if defined(USB_DEBUG) && (defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040))
#if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040)
rp2040.idleOtherCore();
Serial.print("Received wrong second stop byte ");
Serial.println(stopByte, DEC);
Expand All @@ -305,7 +305,7 @@ void EventDispatcher::update()
}
else
{
#if defined(USB_DEBUG) && (defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040))
#if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040)
rp2040.idleOtherCore();
Serial.print("Received wrong first stop byte ");
Serial.println(stopByte, DEC);
Expand All @@ -315,7 +315,7 @@ void EventDispatcher::update()
}
else
{
#if defined(USB_DEBUG) && (defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040))
#if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040)
rp2040.idleOtherCore();
Serial.print("Received invalid event id ");
Serial.println(eventId, DEC);
Expand All @@ -326,7 +326,7 @@ void EventDispatcher::update()
}
else
{
#if defined(USB_DEBUG) && (defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040))
#if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040)
rp2040.idleOtherCore();
Serial.print("Received invalid source id ");
Serial.println(sourceId, DEC);
Expand All @@ -336,7 +336,7 @@ void EventDispatcher::update()
}
else
{
#if defined(USB_DEBUG) && (defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040))
#if defined(ARDUINO_ARCH_MBED_RP2040) || defined(ARDUINO_ARCH_RP2040)
rp2040.idleOtherCore();
Serial.print("Received wrong start byte ");
Serial.println(startByte, DEC);
Expand Down

0 comments on commit cf77483

Please sign in to comment.