summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/clock/mars_time_face.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-03-04 16:30:18 -0600
committerJoey Castillo <joeycastillo@utexas.edu>2022-03-04 16:30:18 -0600
commit08af2ed398721a413a9d6fd05f8e749deeccda56 (patch)
treed151e4a592fff32211fa6443454f64070b29fe91 /movement/watch_faces/clock/mars_time_face.h
parent3025984eb558442e86edf0c99f5d7fbb0d619f10 (diff)
downloadSensor-Watch-08af2ed398721a413a9d6fd05f8e749deeccda56.tar.gz
Sensor-Watch-08af2ed398721a413a9d6fd05f8e749deeccda56.tar.bz2
Sensor-Watch-08af2ed398721a413a9d6fd05f8e749deeccda56.zip
mars clock: adding additional sites
Diffstat (limited to 'movement/watch_faces/clock/mars_time_face.h')
-rw-r--r--movement/watch_faces/clock/mars_time_face.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/movement/watch_faces/clock/mars_time_face.h b/movement/watch_faces/clock/mars_time_face.h
index 864169a0..d41c0dad 100644
--- a/movement/watch_faces/clock/mars_time_face.h
+++ b/movement/watch_faces/clock/mars_time_face.h
@@ -27,8 +27,17 @@
#include "movement.h"
+typedef enum {
+ MARS_TIME_MERIDIAN,
+ MARS_TIME_CURIOSITY_SITE,
+ MARS_TIME_INSIGHT_SITE,
+ MARS_TIME_PERSEVERANCE_SITE,
+ MARS_TIME_ZHURONG_SITE,
+ MARS_TIME_NUM_SITES,
+} mars_time_site_t;
+
typedef struct {
- uint8_t unused;
+ mars_time_site_t current_site;
} mars_time_state_t;
void mars_time_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr);