🎨 Update HAL/STM32 wrappers

Followup to #22537
This commit is contained in:
Scott Lahteine
2021-08-13 18:49:27 -05:00
parent c161a46112
commit fc817feee3
3 changed files with 10 additions and 5 deletions

View File

@@ -19,14 +19,15 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include "../platforms.h"
#ifdef HAL_STM32
/**
* Platform-independent Arduino functions for I2C EEPROM.
* Enable USE_SHARED_EEPROM if not supplied by the framework.
*/
#ifdef STM32F1
#include "../../inc/MarlinConfig.h"
#if ENABLED(IIC_BL24CXX_EEPROM)
@@ -51,4 +52,4 @@ uint8_t eeprom_read_byte(uint8_t *pos) {
}
#endif // IIC_BL24CXX_EEPROM
#endif // STM32F1
#endif // HAL_STM32