mirror of https://github.com/noisymime/Arduino.git
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…
Reference in New Issue