Browse Source

fix: wifi connection test

master
n0m1s 6 years ago
parent
commit
75e0e6c643
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      wifi.cpp

+ 2
- 2
wifi.cpp View File

@ -13,7 +13,7 @@ void Wifi::keep_alive_connection()
m_wifi.run();
}
void Wifi::is_connected() const
bool Wifi::is_connected() const
{
return m_wifi.status() == WL_CONNECTED;
return WiFi.status() == WL_CONNECTED;
}

Loading…
Cancel
Save