mirror of
https://github.com/alinanorakari/Pebble-Time-Watchface-Super-Simple.git
synced 2025-08-30 08:29:11 +02:00
added demo time of 8 past 10
This commit is contained in:
parent
9d4f553f7f
commit
b53e699bcf
@ -195,8 +195,12 @@ static void tick_handler(struct tm *tick_time, TimeUnits changed) {
|
|||||||
// Store time
|
// Store time
|
||||||
// dummy time in emulator
|
// dummy time in emulator
|
||||||
if (debug) {
|
if (debug) {
|
||||||
|
/*
|
||||||
s_last_time.hours = 0;
|
s_last_time.hours = 0;
|
||||||
s_last_time.minutes = tick_time->tm_sec;
|
s_last_time.minutes = tick_time->tm_sec;
|
||||||
|
*/
|
||||||
|
s_last_time.hours = 10;
|
||||||
|
s_last_time.minutes = 8;
|
||||||
} else {
|
} else {
|
||||||
s_last_time.hours = tick_time->tm_hour;
|
s_last_time.hours = tick_time->tm_hour;
|
||||||
s_last_time.hours -= (s_last_time.hours > 12) ? 12 : 0;
|
s_last_time.hours -= (s_last_time.hours > 12) ? 12 : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user