We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f8ac21 commit a2ce697Copy full SHA for a2ce697
src/ArduinoHardware.h
@@ -58,8 +58,8 @@
58
// Stm32duino Maple mini USB Serial Port
59
#define SERIAL_CLASS USBSerial
60
#elif defined(STM32F4xx)
61
- #include <HardwareSerial.h> // STM32F4 Microcontrollers
62
- #define SERIAL_CLASS UBSSerial
+ #include <HardwareSerial.h>
+ #define SERIAL_CLASS USBSerial
63
#else
64
#include <HardwareSerial.h> // Arduino AVR
65
#define SERIAL_CLASS HardwareSerial
@@ -73,7 +73,7 @@ class ArduinoHardware {
73
}
74
ArduinoHardware()
75
{
76
-#if defined(STM32F4xxx)
+#if defined(STM32F4xx)
77
iostream = &SerialUSB;
78
#elif defined(USBCON) and !(defined(USE_USBCON))
79
/* Leonardo support */
0 commit comments