noSerial option, DHT fix, 8266 slim to fit Sonoff

This commit is contained in:
Климов Андрей Николаевич
2022-12-16 17:14:59 +03:00
parent a974290389
commit b06dad9395
25 changed files with 705 additions and 66 deletions

View File

@@ -116,7 +116,7 @@ NRFFlashStorage EEPROM;
debugSerial<<(F(" Res:"))<<res<<endl;
return res;
};
void flashStream::close() {fs.close(); debugSerial<<filename<<" Closed\n";};
void flashStream::close() {fs.flush();fs.close(); debugSerial<<filename<<" Closed\n";};
void flashStream::flush() {fs.flush(); debugSerial<<filename<<" Flushed\n";};
size_t flashStream::write(uint8_t ch)
{