]> git.earman.xyz Git - sensor-watch.git/commitdiff
deep space firmware: prepopulate time zones
authorJoey Castillo <joeycastillo@utexas.edu>
Thu, 21 Apr 2022 17:34:49 +0000 (13:34 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Thu, 21 Apr 2022 17:40:58 +0000 (13:40 -0400)
movement/alt_fw/deep_space_now.h

index 1d395fca0ef50910653a26f62d4ea7b8803e3bf7..4cd97578de973b31e71e0a0ab73f0c179e495b7b 100644 (file)
 
 #include "movement_faces.h"
 
+// Preset Goldstone (GO), Madrid (MA), and Canberra (CA) time zones.
+
+#define MOVEMENT_CUSTOM_BOOT_COMMANDS() { \
+    /* Standard Time */\
+    /*\
+    watch_store_backup_data(0x1e0c0c, 4);\
+    watch_store_backup_data(0x010115, 5);\
+    watch_store_backup_data(0x130105, 6);\
+    */\
+    /* Daylight Saving Time */\
+    watch_store_backup_data(0x1f0c0c, 4);\
+    watch_store_backup_data(0x020115, 5);\
+    watch_store_backup_data(0x110105, 6);\
+}
+
 const watch_face_t watch_faces[] = {
     simple_clock_face,
     mars_time_face,