Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-10-06 16:09:54 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-10-06 16:09:54 +0300
commit15225e47b827c0752d35e4abef7cd751f8941217 (patch)
tree4b370033262e7c0cc29f106888a1c2b6b3590152
parentbcbb99337daa737218ce16b651e8f3a6dbffafe8 (diff)
Increase wifi timeout to avoid errors when FTP+Telnet enabled
-rw-r--r--src/Networking/ESP8266WiFi/WiFiInterface.cpp2
-rw-r--r--src/Version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Networking/ESP8266WiFi/WiFiInterface.cpp b/src/Networking/ESP8266WiFi/WiFiInterface.cpp
index e978e071..67eae626 100644
--- a/src/Networking/ESP8266WiFi/WiFiInterface.cpp
+++ b/src/Networking/ESP8266WiFi/WiFiInterface.cpp
@@ -88,7 +88,7 @@ constexpr IRQn ESP_SPI_IRQn = WiFiSpiSercomIRQn;
#endif
const uint32_t WiFiSlowResponseTimeoutMillis = 500; // SPI timeout when when the ESP has to access the SPIFFS filesytem; highest measured is 234ms.
-const uint32_t WiFiFastResponseTimeoutMillis = 20; // SPI timeout when when the ESP does not have to access SPIFFS filesystem.
+const uint32_t WiFiFastResponseTimeoutMillis = 100; // SPI timeout when when the ESP does not have to access SPIFFS filesystem. 20ms is too short on Duet 2 with both FTP and Telnet enabled.
const uint32_t WiFiWaitReadyMillis = 100;
const uint32_t WiFiStartupMillis = 15000; // Formatting the SPIFFS partition can take up to 10s.
const uint32_t WiFiStableMillis = 100;
diff --git a/src/Version.h b/src/Version.h
index bfb084f2..763cdb84 100644
--- a/src/Version.h
+++ b/src/Version.h
@@ -10,7 +10,7 @@
#ifndef VERSION
// Note: the complete VERSION string must be in standard version number format and must not contain spaces! This is so that DWC can parse it.
-# define MAIN_VERSION "3.4.3"
+# define MAIN_VERSION "3.4.3+"
# ifdef USE_CAN0
# define VERSION_SUFFIX "(CAN0)"
# else