mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
add EEPROM.getDataPtr()
fix all warnings in EEPROMClass
This commit is contained in:
@ -36,6 +36,8 @@ class EEPROMClass
|
||||
bool commit();
|
||||
void end();
|
||||
|
||||
uint8_t * getDataPtr();
|
||||
|
||||
template<typename T> T &get(int address, T &t)
|
||||
{
|
||||
if (address < 0 || address + sizeof(T) > _size)
|
||||
|
Reference in New Issue
Block a user