From: Joey Castillo Date: Thu, 21 Apr 2022 17:34:49 +0000 (-0400) Subject: deep space firmware: prepopulate time zones X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=cedfe72ced5ab185d580d21d5766b0ba37cbc2ce;p=sensor-watch.git deep space firmware: prepopulate time zones --- diff --git a/movement/alt_fw/deep_space_now.h b/movement/alt_fw/deep_space_now.h index 1d395fc..4cd9757 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,