Fix EEPROM include on STM32 (#151)

The structure of the stm32 arduino core changed (https://github.com/stm32duino/Arduino_Core_STM32/tree/main/libraries/EEPROM/src).
stm32_eeprom.h was moved to a subfolder. Instead, we can now include (and potentially use later), the `EEPROM.h` header.
This commit is contained in:
rueckix 2021-10-17 18:19:45 +02:00 committed by GitHub
parent 57b1950e38
commit 616599cf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#include "stm32_platform.h" #include "stm32_platform.h"
#ifdef ARDUINO_ARCH_STM32 #ifdef ARDUINO_ARCH_STM32
#include <stm32_eeprom.h> #include <EEPROM.h>
#include "knx/bits.h" #include "knx/bits.h"
Stm32Platform::Stm32Platform() Stm32Platform::Stm32Platform()