Fix testloc.c dmmm2dec function change

https://github.com/Hamlib/Hamlib/issues/286
pull/290/head
Michael Black W9MDB 2020-06-07 15:08:52 -05:00
rodzic 2b191ae7af
commit 1485a19e47
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -92,7 +92,7 @@ int main(int argc, char *argv[])
printf(" GPS lon:\t%f\t%c%d %.3f'\n", lon1, sign, deg, mmm);
/* hamlib function to convert deg, decimal min to decimal degrees */
lon1 = dmmm2dec(deg, mmm, nesw);
lon1 = dmmm2dec(deg, mmm, nesw, 0.0);
printf(" Recoded GPS:\t%f\n", lon1);
/* hamlib function to convert decimal degrees to deg, min, sec */
@ -140,7 +140,7 @@ int main(int argc, char *argv[])
printf(" GPS lat:\t%f\t%c%d %.3f'\n", lat1, sign, deg, mmm);
/* hamlib function to convert deg, decimal min to decimal degrees */
lat1 = dmmm2dec(deg, mmm, nesw);
lat1 = dmmm2dec(deg, mmm, nesw, 0.0);
printf(" Recoded GPS:\t%f\n", lat1);
/* hamlib function to convert decimal degrees to maidenhead */
@ -215,7 +215,7 @@ int main(int argc, char *argv[])
printf(" GPS lon:\t%f\t%c%d %.3f'\n", lon2, sign, deg, mmm);
/* hamlib function to convert deg, decimal min to decimal degrees */
lon2 = dmmm2dec(deg, mmm, nesw);
lon2 = dmmm2dec(deg, mmm, nesw, 0.0);
printf(" Recoded GPS:\t%f\n", lon2);
/* hamlib function to convert decimal degrees to deg, min, sec */
@ -263,7 +263,7 @@ int main(int argc, char *argv[])
printf(" GPS lat:\t%f\t%c%d %.3f'\n", lat2, sign, deg, mmm);
/* hamlib function to convert deg, decimal min to decimal degrees */
lat2 = dmmm2dec(deg, mmm, nesw);
lat2 = dmmm2dec(deg, mmm, nesw, 0.0);
printf(" Recoded GPS:\t%f\n", lat2);
/* hamlib function to convert decimal degrees to maidenhead */