 void pointerLoop()
 {
   // Tick forward each x-Timeframe seconds
-  int pointer = millis() / 1000 / TIMEFRAME % timeStorage;
+  int pointer = millis() / 1000 / TIMEFRAME % storageSize;
   if (pointer != storagePointer)
   {
     storagePointer = pointer;

  #endif
  #ifdef USE_NEOPIXEL
    neopixelLoop();
  #endif
}


#endif

#ifdef USE_STROMBEWUSST_SERVER
  // UDP Format: <16xkey><1xtimeframe><1xticks>
  byte udpBuffer[18] = STROMBEWUSST_KEY;
  IPAddress strombewusstIP = STROMBEWUSST_SERVER;
#endif

// stores the # of bytes needed to store the information
const unsigned int
  storageSize = 60 / TIMEFRAME * 60 * STORAGE_HOURS;

byte
  storage[storageSize],
  lastDay = 0xFF,
  lastHour = 0xFF;

