Skip to content

Commit

Permalink
👽️ Include <EEPROM.h> in STM32 (for now) (#22054)
Browse files Browse the repository at this point in the history
  • Loading branch information
7FM authored Jun 6, 2021
1 parent bc6d8f9 commit e7e60a5
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 e7e60a5

Please sign in to comment.