Browse Source

Revert FLASH_EEPROM_EMULATION include

Scott Lahteine 3 years ago
parent
commit
2fa24a637d
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 1
Marlin/src/HAL/STM32/eeprom_flash.cpp View File

27
 #if ENABLED(FLASH_EEPROM_EMULATION)
27
 #if ENABLED(FLASH_EEPROM_EMULATION)
28
 
28
 
29
 #include "../shared/eeprom_api.h"
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
  * The STM32 HAL supports chips that deal with "pages" and some with "sectors" and some that
36
  * The STM32 HAL supports chips that deal with "pages" and some with "sectors" and some that

Loading…
Cancel
Save