send altitude in place of 2nd hi

pull/145/head
alanbjohnston 4 years ago committed by GitHub
parent f0882682ca
commit 7a6081641d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -955,7 +955,8 @@ void get_tlm(void) {
sprintf(header_str2b, "=%s%c%sShi hi ", header_lat, 0x5c, header_long); // add APRS lat and long
else
// sprintf(header_str2b, "=%s%c%c%sShi hi ", header_lat, 0x5c, 0x5c, header_long); // add APRS lat and long
sprintf(header_str2b, "=%s/%sOhi hi ", header_lat, header_long); // add APRS lat and long
// sprintf(header_str2b, "=%s/%sOhi hi ", header_lat, header_long); // add APRS lat and long
sprintf(header_str2b, "=%s/%sOhi %8.1f ", header_lat, header_long, alt_gps); // add APRS lat and long and altitude
printf("\n\nAPRS string is %s \n\n", header_str2b);
strcat(str, header_str2b);
} else {

Loading…
Cancel
Save

Powered by TurnKey Linux.