Browse code

adding logs

Louis authored on14/03/2019 23:02:31
Showing2 changed files
1 1
Binary files a/build/synocam_home_switch.pbw and b/build/synocam_home_switch.pbw differ
... ...
@@ -172,7 +172,7 @@ static void down_click_handler(ClickRecognizerRef recognizer, void *context) {
172 172
     if(result != APP_MSG_OK) {
173 173
       APP_LOG(APP_LOG_LEVEL_ERROR, "Error sending the outbox: %d", (int)result);
174 174
     }else{
175
-      APP_LOG(APP_LOG_LEVEL_INFO, "Sending to the outbox: %d", msg);
175
+      APP_LOG(APP_LOG_LEVEL_INFO, "Sending to the outbox: %s", msg);
176 176
       text_layer_set_text(s_text_layer, "Sent...");
177 177
     }
178 178
   } else {