diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-21 13:34:49 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-21 13:40:58 -0400 |
commit | cedfe72ced5ab185d580d21d5766b0ba37cbc2ce (patch) | |
tree | a92d2b4808d4d16b860dae8fcb28c3e7b62a1c05 /movement | |
parent | a6024e9fdae3d41fc12c40920bc16899f73efd63 (diff) | |
download | Sensor-Watch-cedfe72ced5ab185d580d21d5766b0ba37cbc2ce.tar.gz Sensor-Watch-cedfe72ced5ab185d580d21d5766b0ba37cbc2ce.tar.bz2 Sensor-Watch-cedfe72ced5ab185d580d21d5766b0ba37cbc2ce.zip |
deep space firmware: prepopulate time zones
Diffstat (limited to 'movement')
-rw-r--r-- | movement/alt_fw/deep_space_now.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/movement/alt_fw/deep_space_now.h b/movement/alt_fw/deep_space_now.h index 1d395fca..4cd97578 100644 --- a/movement/alt_fw/deep_space_now.h +++ b/movement/alt_fw/deep_space_now.h @@ -27,6 +27,21 @@ #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, |