enwi / LED-Christmas-Tree

https://www.tindie.com/products/enwi/led-christmas-tree-kit/
MIT License
5 stars 3 forks source link

Store config #10

Closed enwi closed 2 years ago

enwi commented 2 years ago

closes #4 closes #5 closes #8

enwi commented 2 years ago
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp: In static member function 'static void Networking::stop()':
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:93:29: error: no matching function for call to 'ESP8266WiFiClass::shutdown(WiFiState&)'
     WiFi.shutdown(savedState);
                             ^
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:93:29: note: candidate is:
In file included from C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28:0,
                 from C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
                 from C:\Users\runneradmin\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:35,
                 from C:\Users\runneradmin\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:38,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.h:4,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:1:
C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:114:14: note: bool ESP8266WiFiGenericClass::shutdown(uint32, WiFiState*)
         bool shutdown (uint32 sleepUs = 0, WiFiState* stateSave = nullptr);
              ^
C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:114:14: note:   no known conversion for argument 1 from 'WiFiState' to 'uint32 {aka unsigned int}'
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp: In static member function 'static void Networking::resume()':
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:102:39: error: no matching function for call to 'ESP8266WiFiClass::resumeFromShutdown(WiFiState&)'
     WiFi.resumeFromShutdown(savedState);
                                       ^
D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:102:39: note: candidate is:
In file included from C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28:0,
                 from C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
                 from C:\Users\runneradmin\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:35,
                 from C:\Users\runneradmin\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncJson.h:38,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.h:4,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\Networking.cpp:1:
C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:115:14: note: bool ESP8266WiFiGenericClass::resumeFromShutdown(WiFiState*)
         bool resumeFromShutdown (WiFiState* savedState = nullptr);
              ^
C:\Users\runneradmin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:115:14: note:   no known conversion for argument 1 from 'WiFiState' to 'WiFiState*'
In file included from C:\Users\runneradmin\Documents\Arduino\libraries\FastLED\src/FastLED.h:67:0,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\TreeEffects.h:4,
                 from D:\a\LED-Christmas-Tree\LED-Christmas-Tree\code\TreeEffects.cpp:1: