mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
Fixing same eeprom.h problem on Windows.
This commit is contained in:
parent
68fdc3f012
commit
72ac63c892
@ -196,7 +196,7 @@ __ATTR_PURE__ static __inline__ uint8_t eeprom_read_byte (const uint8_t *__p)
|
||||
{
|
||||
do {} while (!eeprom_is_ready ());
|
||||
#if E2END <= 0xFF
|
||||
EEARL = (uint8_t)__p;
|
||||
EEARL = (uint8_t)(uint16_t)__p;
|
||||
#else
|
||||
EEAR = (uint16_t)__p;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user