mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixing same eeprom.h problem on Windows.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user