| 205 | } |
| 206 | |
| 207 | void json_add_time(char *msg, int addComma) |
| 208 | { |
| 209 | char mydate[256]; |
| 210 | date_strget(mydate, sizeof(mydate), 0); |
| 211 | |
| 212 | |
| 213 | strcat(msg, "\"Time\": \""); |
| 214 | strcat(msg, mydate); |
| 215 | strcat(msg, "\""); |
| 216 | |
| 217 | if (addComma) |
| 218 | { |
| 219 | strcat(msg, ",\n"); |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | void json_add_vfoA(RIG *rig, char *msg) |
| 224 | { |
no test coverage detected