Przeglądaj źródła

Revert FLASH_EEPROM_EMULATION include

Scott Lahteine 3 lat temu
rodzic
commit
2fa24a637d
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4
    1
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 1
Marlin/src/HAL/STM32/eeprom_flash.cpp Wyświetl plik

@@ -27,7 +27,10 @@
27 27
 #if ENABLED(FLASH_EEPROM_EMULATION)
28 28
 
29 29
 #include "../shared/eeprom_api.h"
30
-#include "utility/stm32_eeprom.h"
30
+
31
+// Better: "utility/stm32_eeprom.h", but only after updating stm32duino to 2.0.0
32
+// Use EEPROM.h for compatibility, for now.
33
+#include <EEPROM.h>
31 34
 
32 35
 /**
33 36
  * The STM32 HAL supports chips that deal with "pages" and some with "sectors" and some that

Ładowanie…
Anuluj
Zapisz