actually call the setup function.

pull/814/head
Travis J Dean 2020-03-28 07:32:02 -04:00
rodzic 30e3bbd0e8
commit b8342f1c9c
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -3,9 +3,10 @@
*/
#include "wled.h"
WLED wled;
WLED& wled;
void setup() {
wled.instance(); // Force creation of static instance
wled = WLED::instance();
wled.setup();
}
void loop() {