mirror of
https://github.com/alinanorakari/Pebble-Time-Watchface-Super-Simple.git
synced 2025-12-14 07:35:21 +01:00
added demo time of 8 past 10
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user