diff --git a/WifiInterface.cpp b/WifiInterface.cpp index 5d04400..4496776 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -35,7 +35,9 @@ Stream * WifiInterface::wifiStream; #ifndef WIFI_CONNECT_TIMEOUT // Tested how long it takes to FAIL an unknown SSID on firmware 1.7.4. -#define WIFI_CONNECT_TIMEOUT 14000 +// The ES should fail a connect in 15 seconds, we don't want to fail BEFORE that +// or ot will cause issues with the following commands. +#define WIFI_CONNECT_TIMEOUT 16000 #endif //////////////////////////////////////////////////////////////////////////////// diff --git a/config.example.h b/config.example.h index 4105f64..e776b04 100644 --- a/config.example.h +++ b/config.example.h @@ -25,7 +25,6 @@ The configuration file for DCC-EX Command Station // +-----------------------v // #define MOTOR_SHIELD_TYPE STANDARD_MOTOR_SHIELD - ///////////////////////////////////////////////////////////////////////////////////// // // The IP port to talk to a WIFI or Ethernet shield. @@ -77,13 +76,6 @@ The configuration file for DCC-EX Command Station // this line exists or not. If you need to use an alternate channel (we recommend // using only 1,6, or 11) you may change it here. #define WIFI_CHANNEL 1 -// -///////////////////////////////////////////////////////////////////////////////////// -// -// Wifi connect timeout in milliseconds. Default is 14000 (14 seconds). You only need -// to set this if you have an extremely slow Wifi router. -// -//#define WIFI_CONNECT_TIMEOUT 14000 ///////////////////////////////////////////////////////////////////////////////////// //