 bool readAlarmTimeFromEEPROM() {
   if (eeprom.isPresent()) {
     char buf[2];
-    eeprom.ReadMem(alarm_address,buf,2);
+    eeprom.ReadMem(alarm_address, buf, 2);
     alarmTime.hour = static_cast<int>(buf[0]);
     alarmTime.minute = static_cast<int>(buf[1]);
     return true;

}

void waitForButtonDepress(int pin, uint8_t onState) {
  while (debounceDigitalRead(pin)==onState) {
    delay(debounceInterval);
  }
}

bool writeSunDownDeltaToEEPROM() {
  if (eeprom.isPresent()) {
    char myBuf[1];
    myBuf[0] = static_cast<char>(defaultSunSetDelta);
    eeprom.WriteMem(sundown_address, myBuf, 1);
    return true;
  }
  return false;
