mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 09:29:02 +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);
|
BRIDGE::print(formatBytes(flashsize - ESP.getSketchSize()-info.totalBytes).c_str(), output);
|
||||||
if (!plaintext)BRIDGE::print(F("\","), output);
|
if (!plaintext)BRIDGE::print(F("\","), output);
|
||||||
else {
|
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);
|
else BRIDGE::println(F("(Not enough)"), output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user