Skip to content

Commit

Permalink
set default values for Wifi disconnect method
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball committed Nov 28, 2024
1 parent 56cbcdf commit c5f7a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cWIFI/cWIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Wifi {
* @return true
* @return false
*/
bool Wifi_Disconnect(bool setWifiOff, bool eraseCredentials) {
bool Wifi_Disconnect(bool setWifiOff = false, bool eraseCredentials = false) {
return WiFi.disconnect(setWifiOff, eraseCredentials);
};
#endif
Expand Down

0 comments on commit c5f7a56

Please sign in to comment.