Browse code

adding logs

Louis authored on14/03/2019 23:33:45
Showing2 changed files
1 1
Binary files a/build/synocam_home_switch.pbw and b/build/synocam_home_switch.pbw differ
... ...
@@ -34,7 +34,6 @@ time_t current_time;
34 34
   
35 35
 typedef enum {
36 36
   status,
37
-  auth,
38 37
   username,
39 38
   password,
40 39
   server
... ...
@@ -217,7 +216,7 @@ void comm_is_ready() {
217 216
   if(result == APP_MSG_OK) {
218 217
     // Add an item to ask for weather data
219 218
     msg = "auth";
220
-    dict_write_cstring(out_iter, auth, msg);
219
+    dict_write_cstring(out_iter, status, msg);
221 220
   
222 221
     // Send this message
223 222
     result = app_message_outbox_send();