| ... | ... |
@@ -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); |