cmaglie / FlashStorage

A convenient way to store data into Flash memory on the ATSAMD21 and ATSAMD51 processor family
202 stars 69 forks source link

EEPROM: length() - missing (compatibility) #13

Closed ardiri closed 7 years ago

ardiri commented 7 years ago

another function to be consistent with the EEPROM libraries

https://forum.arduino.cc/index.php?topic=312645.0#post_func_length

uint16_t EEPROMClass::length()
{
  return EEPROM_EMULATION_SIZE;
}
cmaglie commented 7 years ago

Thanks!