mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 23:21:31 +10:00
use single constructor with default value for size
This commit is contained in:
@@ -61,10 +61,6 @@ const char* WiFiManagerParameter::getCustomHTML() {
|
||||
}
|
||||
|
||||
|
||||
WiFiManager::WiFiManager() {
|
||||
init(WIFI_MANAGER_MAX_PARAMS);
|
||||
}
|
||||
|
||||
WiFiManager::WiFiManager(int max_params) {
|
||||
init(max_params);
|
||||
}
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ class WiFiManager
|
||||
{
|
||||
public:
|
||||
WiFiManager();
|
||||
WiFiManager(int max_params);
|
||||
WiFiManager(int max_params=10);
|
||||
~WiFiManager();
|
||||
|
||||
boolean autoConnect();
|
||||
|
||||
Reference in New Issue
Block a user