Skip to content

Commit

Permalink
actually call the setup function.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisDean committed Mar 28, 2020
1 parent 30e3bbd commit b8342f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wled00/wled00.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b8342f1

Please sign in to comment.