mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
treewide: fix warnings
This commit is contained in:
parent
60f8c629bf
commit
82afcbedc0
5 changed files with 43 additions and 18 deletions
|
|
@ -372,7 +372,6 @@ bool ShadeConfigFile::getAppVersion(appver_t &ver) {
|
|||
char app[15];
|
||||
if(!LittleFS.exists("/appversion")) return false;
|
||||
File f = LittleFS.open("/appversion", "r");
|
||||
size_t fsize = f.size();
|
||||
memset(app, 0x00, sizeof(app));
|
||||
f.read((uint8_t *)app, sizeof(app) - 1);
|
||||
f.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue