We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d0beea commit e08221aCopy full SHA for e08221a
esp3d/config.cpp
@@ -1381,7 +1381,7 @@ void CONFIG::print_config(tpipe output, bool plaintext)
1381
BRIDGE::print(formatBytes(flashsize - ESP.getSketchSize()-info.totalBytes).c_str(), output);
1382
if (!plaintext)BRIDGE::print(F("\","), output);
1383
else {
1384
- if ((flashsize - ESP.getSketchSize()-info.totalBytes) > (flashsize / 2)) BRIDGE::println(F("(Ok)"), output);
+ if ((flashsize - ESP.getSketchSize()-info.totalBytes) > (ESP.getSketchSize())) BRIDGE::println(F("(Ok)"), output);
1385
else BRIDGE::println(F("(Not enough)"), output);
1386
}
1387
0 commit comments