flash read fix

This commit is contained in:
2021-10-06 18:21:59 +03:00
parent 35e51c6a94
commit 80fe47bd33

View File

@@ -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() {