Browse Source

Fix HAL_STM32 + Arduino IDE SoftwareSerial conflict (#16266)

Jason Smith 4 years ago
parent
commit
2e235aff03
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp

+ 1
- 1
Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp View File

34
 //
34
 //
35
 // Includes
35
 // Includes
36
 //
36
 //
37
-#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
37
+#if defined(PLATFORMIO) && defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
38
 
38
 
39
 #include "SoftwareSerial.h"
39
 #include "SoftwareSerial.h"
40
 #include "timers.h"
40
 #include "timers.h"

Loading…
Cancel
Save