fixed APRS header for AX5043

pull/98/head
alanbjohnston 5 years ago committed by GitHub
parent 6515929a01
commit efaa0b5456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1159,8 +1159,10 @@ void get_tlm(void) {
sprintf(header_long, "%08.2f%c", longitude , 'E'); // long
else
sprintf(header_long, "%08.2f%c", longitude * (-1.0), 'W'); // long
sprintf(header_str2b, "=%s%c%c%sShi hi ", header_lat, 0x5c, 0x5c, header_long); // add APRS lat and long
if (ax5043)
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
// printf("\n\nString is %s \n\n", header_str2b);
strcat(str, header_str2b);
} else {

Loading…
Cancel
Save

Powered by TurnKey Linux.