mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +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 ());
|
do {} while (!eeprom_is_ready ());
|
||||||
#if E2END <= 0xFF
|
#if E2END <= 0xFF
|
||||||
EEARL = (uint8_t)__p;
|
EEARL = (uint8_t)(uint16_t)__p;
|
||||||
#else
|
#else
|
||||||
EEAR = (uint16_t)__p;
|
EEAR = (uint16_t)__p;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user