From e08221a077386d12fcbdda8398974e2759904370 Mon Sep 17 00:00:00 2001 From: luc lebosse Date: Sat, 17 Mar 2018 21:44:00 +0100 Subject: [PATCH] Fix 2 for web update --- esp3d/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp3d/config.cpp b/esp3d/config.cpp index 30f143b8..df0729b3 100644 --- a/esp3d/config.cpp +++ b/esp3d/config.cpp @@ -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); }