Pārlūkot izejas kodu

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

7FM 3 gadus atpakaļ
vecāks
revīzija
e7e60a50d8
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4
    0
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 0
Marlin/src/HAL/STM32/eeprom_flash.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt