Browse Source

👽️ Include <EEPROM.h> in STM32 (for now) (#22054)

7FM 3 years ago
parent
commit
e7e60a50d8
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/HAL/STM32/eeprom_flash.cpp

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

@@ -28,6 +28,10 @@
28 28
 
29 29
 #include "../shared/eeprom_api.h"
30 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> 
34
+
31 35
 /**
32 36
  * The STM32 HAL supports chips that deal with "pages" and some with "sectors" and some that
33 37
  * even have multiple "banks" of flash.

Loading…
Cancel
Save