summaryrefslogtreecommitdiffstats
path: root/main/default-to-gsm.patch
blob: 98de0a30ecbdfb647f77419bbc04c7197b614261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/movement/watch_faces/complication/sunrise_sunset_face.c b/movement/watch_faces/complication/sunrise_sunset_face.c
index 1d08bb0..9bd3369 100644
--- a/movement/watch_faces/complication/sunrise_sunset_face.c
+++ b/movement/watch_faces/complication/sunrise_sunset_face.c
@@ -49,8 +49,15 @@ static void _sunrise_sunset_face_update(movement_settings_t *settings, sunrise_s
     movement_location_t movement_location = (movement_location_t) watch_get_backup_data(1);
 
     if (movement_location.reg == 0) {
+#if 0
         watch_display_string("RI  no Loc", 0);
         return;
+#else
+	// Obviously we're at the east end of GSM
+        movement_location.bit.latitude = 5221; 
+        movement_location.bit.longitude = 12;
+        watch_store_backup_data(movement_location.reg, 1);
+#endif
     }
 
     watch_date_time date_time = watch_rtc_get_date_time(); // the current local date / time