 unsigned long content_length = 0;
 boolean statusOk = false;
 
-inline void abortDueToCacheFailure() {
-  flashErrorLEDs(3, 500);
-  systemOK = false;
-  digitalWrite(errorLED, HIGH);
-}
-
 void checkForDownload() {
   unsigned long length = 0;
   content_length = 0;

      debug("Cleared cache");
    } else {
      debug("Failed to clear cache. Aborting.");
      abortDueToCacheFailure();
      return;
    }
  }

  flashErrorLEDs(5, 100);
}

inline void terminalError() {
  flashErrorLEDs(3, 500);
  systemOK = false;
  digitalWrite(errorLED, HIGH);
}

// -- Print send any data from the cache to the printer

inline void printFromDownload() {
