     uint32_t clock;
     uint32_t expectedDelay;
 
-    // Animations are disabled when speed is zero.
-    if (settings.var == 0) {
-        return 0;
-    }
-
     clock = millis();
     diff = clock - lastClock;
 

#include <PubSubClient.h>

// Serial DEBUG mode on/off
#define DEBUG_SERIAL
#undef DEBUG_ANIMATION

#define LIGHT_ON "ON"


// Number of LEDs in the strip.
#define NUM_LEDS 60

#define ANIMATION_SPEED 50

// This variable holds the LED color state.
CRGB leds[NUM_LEDS];
