mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 21:29:49 +03:00
fix wifimanager without esp
This commit is contained in:
@@ -1046,7 +1046,7 @@ void setup_main() {
|
||||
ArtnetSetup();
|
||||
#endif
|
||||
|
||||
#ifndef WIFI_MANAGER_DISABLE
|
||||
#if defined(__ESP__) and not defined(WIFI_MANAGER_DISABLE)
|
||||
WiFiManager wifiManager;
|
||||
#if defined(ESP_WIFI_AP) and defined(ESP_WIFI_PWD)
|
||||
wifiManager.autoConnect(QUOTE(ESP_WIFI_AP), QUOTE(ESP_WIFI_PWD));
|
||||
|
||||
Reference in New Issue
Block a user