File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -823,6 +823,11 @@ void NodeDB::loadFromDisk()
823823 0 ; // Mark the current device state as completely unusable, so that if we fail reading the entire file from
824824 // disk we will still factoryReset to restore things.
825825
826+ #ifdef ARCH_ESP32
827+ if (FSCom.exists (" /static/static" ))
828+ rmDir (" /static/static" ); // Remove bad static web files bundle from initial 2.5.13 release
829+ #endif
830+
826831 // static DeviceState scratch; We no longer read into a tempbuf because this structure is 15KB of valuable RAM
827832 auto state = loadProto (prefFileName, sizeof (meshtastic_DeviceState) + MAX_NUM_NODES_FS * sizeof (meshtastic_NodeInfo),
828833 sizeof (meshtastic_DeviceState), &meshtastic_DeviceState_msg, &devicestate);
You can’t perform that action at this time.
0 commit comments