mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-07 06:01:35 +03:00
adds WiFi.getPersistent() (#3857)
This commit is contained in:
@ -303,6 +303,13 @@ void ESP8266WiFiGenericClass::persistent(bool persistent) {
|
||||
_persistent = persistent;
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the persistent state
|
||||
* @return bool
|
||||
*/
|
||||
bool ESP8266WiFiGenericClass::getPersistent(){
|
||||
return _persistent;
|
||||
}
|
||||
|
||||
/**
|
||||
* set new mode
|
||||
|
Reference in New Issue
Block a user