mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-11 17:59:10 +08:00
Fix 2 for web update
This commit is contained in:
parent
3d0beea62c
commit
e08221a077
@ -1381,7 +1381,7 @@ void CONFIG::print_config(tpipe output, bool plaintext)
|
||||
BRIDGE::print(formatBytes(flashsize - ESP.getSketchSize()-info.totalBytes).c_str(), output);
|
||||
if (!plaintext)BRIDGE::print(F("\","), output);
|
||||
else {
|
||||
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);
|
||||
else BRIDGE::println(F("(Not enough)"), output);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user