Commit 7b319cf98da7a350bb350b54592d6dbbacb0ce19
1 parent
5aef0b62
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
Project/applications/smartcities/json.c
... | ... | @@ -34,7 +34,7 @@ char* prepare_json_register_statement(char* module_ID, uint8_t sensor_type) |
34 | 34 | str_aux = join_strings(str_aux,str_aux2,length,observation_length,JOIN_FREE_MEM); |
35 | 35 | length += observation_length; |
36 | 36 | } |
37 | - length--; //REMOVE LAST ',' | |
37 | + length--; | |
38 | 38 | json_statement = join_strings(str_aux,"]}",length,2,JOIN_NO_FREE); |
39 | 39 | chHeapFree(str_aux); |
40 | 40 | return json_statement; | ... | ... |