summaryrefslogtreecommitdiffstats
path: root/main/jmm.patch
blob: 6cf4c0f978fa68f4a362361f133446f36db016fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
diff --git a/movement/alt_fw/jmm.h b/movement/alt_fw/jmm.h
new file mode 100644
index 0000000..e184f54
--- /dev/null
+++ b/movement/alt_fw/jmm.h
@@ -0,0 +1,30 @@
+#ifndef MOVEMENT_CONFIG_H_
+#define MOVEMENT_CONFIG_H_
+
+#include "movement_faces.h"
+
+#define MOVEMENT_DEFAULT_RED_COLOR 0xf
+#define MOVEMENT_DEFAULT_GREEN_COLOR 0xf
+
+const watch_face_t watch_faces[] = {
+    simple_clock_face,
+    stock_stopwatch_face,
+    world_clock_face,
+    totp_face_lfs,
+    moon_phase_face,
+    sunrise_sunset_face,
+    day_night_percentage_face,
+    tuning_tones_face,
+    decimal_time_face,
+    beats_face,
+    astronomy_face,
+    preferences_face,
+    frequency_correction_face,
+    set_time_face,
+};
+
+#define MOVEMENT_NUM_FACES (sizeof(watch_faces) / sizeof(watch_face_t))
+
+#define SIGNAL_TUNE_DEFAULT
+
+#endif // MOVEMENT_CONFIG_H_
diff --git a/movement/make/Makefile b/movement/make/Makefile
index da5486b..576822c 100644
--- a/movement/make/Makefile
+++ b/movement/make/Makefile
@@ -1,3 +1,5 @@
+FIRMWARE=JMM
+COLOR=RED
 # Leave this line at the top of the file; it has all the watch library sources and includes.
 TOP = ../..
 include $(TOP)/make.mk
diff --git a/movement/movement.c b/movement/movement.c
index 0b292a1..060f1e2 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -53,6 +53,8 @@
 #include "alt_fw/the_stargazer.h"
 #elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_DEEP_SPACE_NOW
 #include "alt_fw/deep_space_now.h"
+#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_JMM
+#include "alt_fw/jmm.h"
 #endif
 
 #include "movement_custom_signal_tunes.h"