Skip to content

Commit

Permalink
👽️ Include <EEPROM.h> in STM32 (for now) (MarlinFirmware#22054)
Browse files Browse the repository at this point in the history
  • Loading branch information
7FM authored and thinkyhead committed Jun 15, 2021
1 parent 83430be commit c515bfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/HAL/STM32/eeprom_flash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

#include "../shared/eeprom_api.h"

// Better: "utility/stm32_eeprom.h", but only after updating stm32duino to 2.0.0
// Use EEPROM.h for compatibility, for now.
#include <EEPROM.h>

/**
* The STM32 HAL supports chips that deal with "pages" and some with "sectors" and some that
* even have multiple "banks" of flash.
Expand Down

0 comments on commit c515bfb

Please sign in to comment.