Fix HAL_STM32 + Arduino IDE SoftwareSerial conflict (#16266)

This commit is contained in:
Jason Smith 2019-12-20 17:14:27 -08:00 committed by Scott Lahteine
parent 87992f3669
commit 2e235aff03

View File

@ -34,7 +34,7 @@
//
// Includes
//
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
#if defined(PLATFORMIO) && defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
#include "SoftwareSerial.h"
#include "timers.h"