actually call the setup function.

This commit is contained in:
Travis J Dean 2020-03-28 07:32:02 -04:00
parent 30e3bbd0e8
commit b8342f1c9c

View File

@ -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() {