Browse code

Merge branch 'master' of ssh://192.168.170.33:5522/volume1/web/gitlist/repos/bike_companion

Louis authored on09/01/2023 21:33:55
Showing3 changed files
1 1
Binary files a/build/bike_companion.pbw and b/build/bike_companion.pbw differ
... ...
@@ -328,7 +328,7 @@ static void inbox_received_callback(DictionaryIterator *iter, void *context) {
328 328
 
329 329
   if(max_speed_tuple) {
330 330
     memset(s_max_speed,'\0',sizeof(s_max_speed));
331
-    strncpy(s_max_speed, max_speed_tuple->value->cstring, 5);
331
+    strncpy(s_max_speed, max_speed_tuple->value->cstring, 3);
332 332
     //uint i_max_speed=atoi(s_max_speed);
333 333
     // Display in the TextLayer
334 334
     //text_layer_set_text(s_max_speed_text_layer, lf_max_speed);
... ...
@@ -357,7 +357,7 @@ function PostToWeb() {
357 357
         }
358 358
     };
359 359
 
360
-    //send CSV in body
360
+    //send GPX in body
361 361
     xhr.send(GPX);
362 362
 
363 363
 }