mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-17 16:41:31 +10:00
camelcase _staShowStaticFields
This commit is contained in:
+2
-2
@@ -705,7 +705,7 @@ String WiFiManager::getScanItemOut(){
|
||||
|
||||
String WiFiManager::getStaticOut(){
|
||||
String page;
|
||||
if (_sta_show_static_fields || _sta_static_ip) {
|
||||
if (_staShowStaticFields || _sta_static_ip) {
|
||||
|
||||
// @todo how can we get these settings from memory , wifi_get_ip_info does not seem to reveal if struct ip_info is static or not
|
||||
// @todo move titles to params for i18n
|
||||
@@ -1187,7 +1187,7 @@ void WiFiManager::setRestorePersistent(boolean persistent) {
|
||||
}
|
||||
|
||||
void WiFiManager::setShowStaticFields(boolean alwaysShow){
|
||||
_sta_show_static_fields = alwaysShow;
|
||||
_staShowStaticFields = alwaysShow;
|
||||
}
|
||||
|
||||
void WiFiManager::setCaptivePortalEnable(boolean enabled){
|
||||
|
||||
+1
-1
@@ -164,7 +164,7 @@ class WiFiManager
|
||||
boolean _shouldBreakAfterConfig = false;
|
||||
boolean _tryWPS = false;
|
||||
boolean _configPortalIsBlocking = true;
|
||||
boolean _sta_show_static_fields = false;
|
||||
boolean _staShowStaticFields = false;
|
||||
boolean _enableCaptivePortal = true;
|
||||
boolean _userpersistent = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user