Skip to content

Commit e08221a

Browse files
committed
Fix 2 for web update
1 parent 3d0beea commit e08221a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp3d/config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ void CONFIG::print_config(tpipe output, bool plaintext)
13811381
BRIDGE::print(formatBytes(flashsize - ESP.getSketchSize()-info.totalBytes).c_str(), output);
13821382
if (!plaintext)BRIDGE::print(F("\","), output);
13831383
else {
1384-
if ((flashsize - ESP.getSketchSize()-info.totalBytes) > (flashsize / 2)) BRIDGE::println(F("(Ok)"), output);
1384+
if ((flashsize - ESP.getSketchSize()-info.totalBytes) > (ESP.getSketchSize())) BRIDGE::println(F("(Ok)"), output);
13851385
else BRIDGE::println(F("(Not enough)"), output);
13861386
}
13871387

0 commit comments

Comments
 (0)