actually call the setup function.
This commit is contained in:
parent
30e3bbd0e8
commit
b8342f1c9c
@ -3,9 +3,10 @@
|
|||||||
*/
|
*/
|
||||||
#include "wled.h"
|
#include "wled.h"
|
||||||
|
|
||||||
WLED wled;
|
WLED& wled;
|
||||||
void setup() {
|
void setup() {
|
||||||
wled.instance(); // Force creation of static instance
|
wled = WLED::instance();
|
||||||
|
wled.setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user