Fix library ARCH issues

stm32duino / Arduino_Core_STM32 can't be compiled with Arduino Bridge/Ethernet/WiFi libraries.
This commit is contained in:
fauresystems
2020-06-26 19:02:05 +02:00
parent f8729135b3
commit 10a766453f
16 changed files with 63 additions and 16 deletions
+12 -1
View File
@@ -9,8 +9,19 @@
#include "PropAction.h"
#if defined(STM32F4xx) || defined(STM32F7xx)
#if defined(ARDUINO_ARCH_STM32)
// tested with STM32F767ZI
#include <Arduino.h>
#include "Stm32Millis.h"
#else
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
#endif
PropAction::PropAction()