From 0e8d2c191d138e614790825ac89d371cf9c140c6 Mon Sep 17 00:00:00 2001 From: soif Date: Thu, 5 Oct 2017 16:20:01 +0200 Subject: [PATCH] Implements lightLoop + Includes (WTH) FastLed --- code/espurna/espurna.ino | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/espurna/espurna.ino b/code/espurna/espurna.ino index 24d95adc..7ea3fe37 100644 --- a/code/espurna/espurna.ino +++ b/code/espurna/espurna.ino @@ -21,6 +21,7 @@ along with this program. If not, see . #include "config/all.h" #include +#include // W.T.H. is this include ALSO needed here ?!?!! // ----------------------------------------------------------------------------- // METHODS @@ -303,6 +304,11 @@ void loop() { // Do not run the next services if system is flagged stable if (!systemCheck()) return; + #if LIGHT_PROVIDER != LIGHT_PROVIDER_NONE + lightLoop(); + #endif + + buttonLoop(); relayLoop(); ledLoop();