move wifi stuff to separate module, implement WifiManager for AP configuration
This commit is contained in:
@@ -24,7 +24,8 @@ void setup() {
|
||||
settings.name.remove(devlen+1, 6);
|
||||
|
||||
PRINTLN_SERIAL("device name generated");
|
||||
|
||||
|
||||
wifi_setup();
|
||||
|
||||
#ifdef ENABLE_MQTT
|
||||
mqtt_setup();
|
||||
@@ -40,6 +41,7 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
wifi_loop();
|
||||
#ifdef ENABLE_MQTT
|
||||
mqtt_loop();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user