don't print DE when not transmitting

pull/247/head
alanbjohnston 3 years ago committed by GitHub
parent 347d592ee9
commit 9c7598c48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -483,6 +483,8 @@ void send_aprs_packet() {
} }
void send_cw() { void send_cw() {
if (filter_present) { // only transmit CW packet if BPF filter is present
char de[] = " DE "; char de[] = " DE ";
char telem[1000]; char telem[1000];
char space[] = " "; char space[] = " ";
@ -497,8 +499,8 @@ void send_cw() {
if (debug_mode) if (debug_mode)
print_string(telem); print_string(telem);
// Serial.println(strlen(telem)); // Serial.println(strlen(telem));
if (filter_present) // only transmit CW packet if BPF filter is present
transmit_string(telem); transmit_string(telem);
}
} }
void transmit_on() { void transmit_on() {

Loading…
Cancel
Save

Powered by TurnKey Linux.