Skip to content

Commit

Permalink
Fix: ARDUINO_PORTENTA_H7_M4 was replaced by ARDUINO_GENERIC_STM32H747…
Browse files Browse the repository at this point in the history
…_M4 for Arduino Portenta H7 / M4 core.
  • Loading branch information
aentinger committed Feb 23, 2024
1 parent 3b69ce9 commit 852b4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/serial/SerialDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void SerialDispatcher::handleSerialReader()
* GLOBAL VARIABLE DECLARATION
**************************************************************************************/

#ifdef ARDUINO_PORTENTA_H7_M4
#ifdef ARDUINO_GENERIC_STM32H747_M4
SerialDispatcher Serial(Serial1); /* No SerialUSB for Portenta H7 / M4 Core */
#else
SerialDispatcher Serial(SerialUSB);
Expand Down

0 comments on commit 852b4b7

Please sign in to comment.