pull/79/head
alanbjohnston 5 years ago committed by GitHub
parent c53a6cf694
commit 83ff6f1311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1982,11 +1982,11 @@ float toAprsFormat(float input) {
int mm1 = (int)((input - dd) * 60);
int mm2; // = (int)((input - dd - mm1/60) * 60 * 60);
float mm21 = input - dd - mm1/60
print("%f ", mm21);
printf("%f ", mm21);
mm21 = mm21 * 60 * 60;
print("%f ", mm21);
printf("%f ", mm21);
mm2 = (int)mm21;
print("%d ", mm2);
printf("%d ", mm2);
float output = dd * 100 + mm1 + mm2 * 0.01;
return(output);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.