Fix wrappers on HAL/STM32F1 .cpp files (#19581)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
ellensp
2020-10-03 11:28:08 +13:00
committed by GitHub
parent 435e98ceed
commit b3c2ee56f9
6 changed files with 16 additions and 10 deletions

View File

@@ -25,6 +25,8 @@
* Enable USE_SHARED_EEPROM if not supplied by the framework.
*/
#ifdef __STM32F1__
#include "../../inc/MarlinConfig.h"
#if ENABLED(IIC_BL24CXX_EEPROM)
@@ -49,3 +51,4 @@ uint8_t eeprom_read_byte(uint8_t *pos) {
}
#endif // IIC_BL24CXX_EEPROM
#endif // __STM32F1__