Skip to content

Commit

Permalink
adapt wifi disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball committed Nov 25, 2024
1 parent 8058944 commit 5c9f857
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cWIFI/cWIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ class Wifi {

bool IsConnected(void) const {return WiFi.isConnected();};
int32_t Wifi_rssi(void) const {return WiFi.RSSI();};
bool Wifi_Disconnect(void) {return WiFi.disconnect();};

bool Wifi_Disconnect(bool setWifiOff, bool eraseCredentials) {
return WiFi.disconnect(setWifiOff, eraseCredentials);
};

};

Expand Down

0 comments on commit 5c9f857

Please sign in to comment.