change precision

This commit is contained in:
Uskompuf 2021-09-13 17:39:58 +10:00
parent 3c803f2ed7
commit 233f06c84f
1 changed files with 6 additions and 6 deletions

View File

@ -3301,13 +3301,13 @@ void sondehub_send_data(WiFiClient * client, SondeInfo * s, struct st_sondehub *
"\"manufacturer\": \"%s\"," "\"manufacturer\": \"%s\","
"\"serial\": \"%s\"," "\"serial\": \"%s\","
"\"datetime\": \"%04d-%02d-%02dT%02d:%02d:%02d.000Z\"," "\"datetime\": \"%04d-%02d-%02dT%02d:%02d:%02d.000Z\","
"\"lat\": %.6f," "\"lat\": %.5f,"
"\"lon\": %.6f," "\"lon\": %.5f,"
"\"alt\": %.3f," "\"alt\": %.5f,"
"\"frequency\": %.3f," "\"frequency\": %.3f,"
"\"vel_h\": %.3f," "\"vel_h\": %.5f,"
"\"vel_v\": %.3f," "\"vel_v\": %.5f,"
"\"heading\": %.3f," "\"heading\": %.5f,"
"\"rssi\": %.1f," "\"rssi\": %.1f,"
"\"frame\": %d," "\"frame\": %d,"
"\"type\": \"%s\",", "\"type\": \"%s\",",