summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--movement/alt_fw/the_stargazer.h5
-rw-r--r--movement/movement.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/movement/alt_fw/the_stargazer.h b/movement/alt_fw/the_stargazer.h
index 320436ad..edf49ffa 100644
--- a/movement/alt_fw/the_stargazer.h
+++ b/movement/alt_fw/the_stargazer.h
@@ -27,6 +27,11 @@
#include "movement_faces.h"
+#define MOVEMENT_CUSTOM_BOOT_COMMANDS() { \
+ movement_state.settings.bit.led_green_color = 0x0;\
+ movement_state.settings.bit.led_red_color = 0xF;\
+}
+
const watch_face_t watch_faces[] = {
simple_clock_face,
astronomy_face,
diff --git a/movement/movement.c b/movement/movement.c
index 22175efe..c3beec87 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -268,6 +268,10 @@ void app_wake_from_backup(void) {
}
void app_setup(void) {
+ #ifdef MOVEMENT_CUSTOM_BOOT_COMMANDS
+ MOVEMENT_CUSTOM_BOOT_COMMANDS()
+ #endif
+
watch_store_backup_data(movement_state.settings.reg, 0);
static bool is_first_launch = true;