mirror of
https://github.com/anklimov/lighthub
synced 2025-12-10 05:39:51 +03:00
fix wifimanager without esp
This commit is contained in:
@@ -1046,7 +1046,7 @@ void setup_main() {
|
|||||||
ArtnetSetup();
|
ArtnetSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WIFI_MANAGER_DISABLE
|
#if defined(__ESP__) and not defined(WIFI_MANAGER_DISABLE)
|
||||||
WiFiManager wifiManager;
|
WiFiManager wifiManager;
|
||||||
#if defined(ESP_WIFI_AP) and defined(ESP_WIFI_PWD)
|
#if defined(ESP_WIFI_AP) and defined(ESP_WIFI_PWD)
|
||||||
wifiManager.autoConnect(QUOTE(ESP_WIFI_AP), QUOTE(ESP_WIFI_PWD));
|
wifiManager.autoConnect(QUOTE(ESP_WIFI_AP), QUOTE(ESP_WIFI_PWD));
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
[platformio]
|
[platformio]
|
||||||
src_dir = lighthub
|
src_dir = lighthub
|
||||||
env_default =
|
env_default =
|
||||||
; megaatmega2560
|
megaatmega2560
|
||||||
; due
|
; due
|
||||||
esp8266
|
; esp8266
|
||||||
; megaatmega2560-5500
|
; megaatmega2560-5500
|
||||||
; due-5500
|
; due-5500
|
||||||
; controllino
|
; controllino
|
||||||
|
|||||||
Reference in New Issue
Block a user