Compare commits
2 Commits
d9ac8922db
...
wyoscan
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a32e5d1d8f | ||
|
|
370cb1b3ec |
@@ -78,4 +78,5 @@
|
|||||||
#include "higher_lower_game_face.h"
|
#include "higher_lower_game_face.h"
|
||||||
#include "lander_face.h"
|
#include "lander_face.h"
|
||||||
#include "simon_face.h"
|
#include "simon_face.h"
|
||||||
|
#include "wyoscan_face.h"
|
||||||
// New includes go above this line.
|
// New includes go above this line.
|
||||||
|
|||||||
@@ -53,4 +53,5 @@ SRCS += \
|
|||||||
./watch-faces/complication/higher_lower_game_face.c \
|
./watch-faces/complication/higher_lower_game_face.c \
|
||||||
./watch-faces/complication/lander_face.c \
|
./watch-faces/complication/lander_face.c \
|
||||||
./watch-faces/complication/simon_face.c \
|
./watch-faces/complication/simon_face.c \
|
||||||
|
./watch-faces/clock/wyoscan_face.c \
|
||||||
# New watch faces go above this line.
|
# New watch faces go above this line.
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "wyoscan_face.h"
|
#include "wyoscan_face.h"
|
||||||
#include "watch_private_display.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Slowly render the current time from left to right,
|
Slowly render the current time from left to right,
|
||||||
@@ -115,7 +114,7 @@ bool wyoscan_face_loop(movement_event_t event, void *context) {
|
|||||||
break;
|
break;
|
||||||
case EVENT_TICK:
|
case EVENT_TICK:
|
||||||
if (!state->animate) {
|
if (!state->animate) {
|
||||||
date_time = watch_rtc_get_date_time();
|
date_time = movement_get_local_date_time();
|
||||||
state->start = 0;
|
state->start = 0;
|
||||||
state->end = 0;
|
state->end = 0;
|
||||||
state->animation = 0;
|
state->animation = 0;
|
||||||
Reference in New Issue
Block a user