 	} else
 	{
 		Serial.println("RTC has set the system time"); 
-		fsmState = ERROR_MODE;
+		//fsmState = ERROR_MODE;
 	}
 	
 	// default alarm settings, 08:30, disabled
 	pinMode(ALARM_PIN, INPUT_PULLUP);
-	setRtcAlarm(8,30);
-	disableRtcAlarm();
+	//setRtcAlarm(8,30);
+	//disableRtcAlarm();
 }
 
 void loop()
 {
-	// If not in error state, increment button ticks
+	// If error detected, disable buttons.
 	if (fsmState != ERROR_MODE)
 	{
 		buttonA.tick();

		digitValues[activeDigit]++;
		digitValues[activeDigit] %= maxValueForDigit(activeDigit);
		display.writeDigit(activeDigit, digitValues[activeDigit]);
	} else if (fsmState == SHOW_TIME_MODE)
	{
		playSong();
	}
}


#define SHOW_ALARM_MODE 4
#define ERROR_MODE      5

#define SHOW_TIME_DURATION    7000
#define SHOW_TEMP_DURATION    3000
#define ALARM_CLEAR_DURATION 61000
// ---------------------- //
//  Common definitions
// ---------------------- //
