   pinMode(MODE_SWITCH_PIN, INPUT_PULLUP);
 
   EEPROM.get(MODE_INDEX, mode);
+  
   if ( mode < 0 || mode >= PROCESSOR_COUNT)
     mode = 0;
   Serial.print(F("Got mode from eeprom ") );

// helper to get time for testing if no UTC available
DateTime getCurrent()
{
  if ( haveRtc )
    return rtc.now();
  else
    return compileTime.unixtime() + millis() / 50; // speed up time! use 1000 for close to real time
}

/*******************************************************************************


#define MODE_SWITCH_PIN 10
int mode = 0; 
int inDst = 0;

DateTime compileTime;

const int MODE_INDEX = 0;           // EEPROM index of mode (int)

/*******************************************************************************
*******************************************************************************/
