Ver código fonte

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

7FM 3 anos atrás
pai
commit
e7e60a50d8
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 0
Marlin/src/HAL/STM32/eeprom_flash.cpp Ver arquivo

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

Carregando…
Cancelar
Salvar