Просмотр исходного кода

Revert FLASH_EEPROM_EMULATION include

Scott Lahteine 3 лет назад
Родитель
Сommit
2fa24a637d
1 измененных файлов: 4 добавлений и 1 удалений
  1. 4
    1
      Marlin/src/HAL/STM32/eeprom_flash.cpp

+ 4
- 1
Marlin/src/HAL/STM32/eeprom_flash.cpp Просмотреть файл

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

Загрузка…
Отмена
Сохранить