Bladeren bron

Revert FLASH_EEPROM_EMULATION include

Scott Lahteine 3 jaren geleden
bovenliggende
commit
2fa24a637d
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. 4
    1
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 1
Marlin/src/HAL/STM32/eeprom_flash.cpp Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan