File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ bool NetworkConfigurator::end() {
135
135
136
136
NetworkConfigurator::ConnectionResult NetworkConfigurator::connectToNetwork (StatusMessage *err) {
137
137
ConnectionResult res = ConnectionResult::IN_PROGRESS;
138
- // DEBUG_DEBUG("Connecting to network");
139
- // printNetworkSettings();
138
+
140
139
if (_startConnectionAttempt == 0 ) {
141
140
_startConnectionAttempt = millis ();
142
141
}
@@ -147,7 +146,6 @@ NetworkConfigurator::ConnectionResult NetworkConfigurator::connectToNetwork(Stat
147
146
_startConnectionAttempt = 0 ;
148
147
DEBUG_INFO (" Connected to network" );
149
148
sendStatus (StatusMessage::CONNECTED);
150
- delay (3000 ); // TODO remove
151
149
res = ConnectionResult::SUCCESS;
152
150
} else if (connectionRes != NetworkConnectionState::CONNECTED && millis () - _startConnectionAttempt > NC_CONNECTION_TIMEOUT) // connection attempt failed
153
151
{
You can’t perform that action at this time.
0 commit comments