added demo time of 8 past 10

master
Alina Marquardt 2015-12-20 21:39:46 +01:00
parent 9d4f553f7f
commit b53e699bcf
1 changed files with 4 additions and 0 deletions

View File

@ -195,8 +195,12 @@ static void tick_handler(struct tm *tick_time, TimeUnits changed) {
// Store time
// dummy time in emulator
if (debug) {
/*
s_last_time.hours = 0;
s_last_time.minutes = tick_time->tm_sec;
*/
s_last_time.hours = 10;
s_last_time.minutes = 8;
} else {
s_last_time.hours = tick_time->tm_hour;
s_last_time.hours -= (s_last_time.hours > 12) ? 12 : 0;