mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
Merge pull request #60 from anklimov/persitense-refactoring
Persitense refactoring merge
This commit is contained in:
@@ -176,7 +176,7 @@ NRFFlashStorage EEPROM;
|
||||
int flashStream::peek()
|
||||
{
|
||||
if (pos<streamSize)
|
||||
return EEPROM.read(pos);
|
||||
return EEPROM.read(startPos+pos);
|
||||
else return -1;
|
||||
};
|
||||
void flashStream::flush() {
|
||||
|
||||
Reference in New Issue
Block a user