Browse code

missing enums

Louis authored on18/11/2021 12:11:17
Showing2 changed files
... ...
@@ -27,16 +27,8 @@ bool is_home_on = false;
27 27
 
28 28
 static uint32_t size ;
29 29
   
30
-time_t current_time;
31
-  
32
-/*  
33
-typedef enum {
34
-  status,
35
-  username,
36
-  password,
37
-  server
38
-} AppKey;
39
-*/
30
+time_t current_time; 
31
+
40 32
 
41 33
 static char * msg;
42 34
 
... ...
@@ -11,6 +11,14 @@ typedef struct Settings {
11 11
   char server;
12 12
 } Settings;
13 13
 
14
+//Define our Appkey enums
15
+typedef enum {
16
+  status,
17
+  username,
18
+  password,
19
+  server
20
+} AppKey;
21
+
14 22
 static void prv_save_settings();
15 23
 static GRect init_text_layer(Layer *parent_layer, TextLayer **text_layer, int16_t y, int16_t h, int16_t additional_right_margin, char *font_key) ;
16 24
 static void init_statusbar_text_layer(Layer *parent, TextLayer **layer);