소스 검색

Fix HAL_STM32 + Arduino IDE SoftwareSerial conflict (#16266)

Jason Smith 4 년 전
부모
커밋
2e235aff03
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp

+ 1
- 1
Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp 파일 보기

@@ -34,7 +34,7 @@
34 34
 //
35 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 39
 #include "SoftwareSerial.h"
40 40
 #include "timers.h"

Loading…
취소
저장