Merge pull request #144 from alanbjohnston/bp-vhf-rnd

Bp vhf rnd
pull/145/head
alanbjohnston 4 years ago committed by GitHub
commit 068e4d6cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -933,7 +933,11 @@ void get_tlm(void) {
latitude = toAprsFormat(lat_gps);
longitude = toAprsFormat(lon_gps);
// sprintf(gps_str, "%7.4f %7.4f %7.1f", lat_gps, lon_gps, alt_gps);
}
} else {
latitude += rnd_float(-0.05, 0.05);
longitude += rnd_float(-0.05, 0.05);
printf("GPS Data with Rnd: %f, %f \n", latitude, longitude);
}
sprintf(gps_str, "%7.4f %7.4f %7.1f", toAprsFormat(lat_gps), toAprsFormat(lon_gps), alt_gps);
// printf("Str: %s \n", str);

Loading…
Cancel
Save

Powered by TurnKey Linux.