mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-12 10:32:10 +01:00
Clear the connecting flag for ETH Wifi fallback #445
This commit is contained in:
parent
e478d17c7f
commit
3d9e6c11c2
2 changed files with 4 additions and 1 deletions
|
|
@ -586,7 +586,10 @@ bool Network::connected() {
|
|||
else return this->connType != conn_types_t::unset;
|
||||
return false;
|
||||
}
|
||||
bool Network::connecting() { return this->_connecting; }
|
||||
bool Network::connecting() {
|
||||
if(this->_connecting && millis() > this->connectStart + CONNECT_TIMEOUT) this->_connecting = false;
|
||||
return this->_connecting;
|
||||
}
|
||||
void Network::clearConnecting() { this->_connecting = false; }
|
||||
void Network::networkEvent(WiFiEvent_t event) {
|
||||
switch(event) {
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue