mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 05:09: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));
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
[platformio]
|
||||
src_dir = lighthub
|
||||
env_default =
|
||||
; megaatmega2560
|
||||
megaatmega2560
|
||||
; due
|
||||
esp8266
|
||||
; esp8266
|
||||
; megaatmega2560-5500
|
||||
; due-5500
|
||||
; controllino
|
||||
|
||||
Reference in New Issue
Block a user