added filter_present to not configure radio if no BPF present

pull/247/head
alanbjohnston 3 years ago committed by GitHub
parent 91c5bff045
commit 11b4246147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2156,6 +2156,7 @@ void write_little_endian(unsigned int word, int num_bytes, FILE *wav_file)
void config_radio() void config_radio()
{ {
if (filter_present) {
Serial.println("Configuring radio"); Serial.println("Configuring radio");
/* /*
if (!wifi) if (!wifi)
@ -2213,6 +2214,8 @@ void config_radio()
} }
transmit_on(); transmit_on();
} }
else
Serial.println("Radio not configured since no BPF present - no transmitting after CW ID");
} }
void test_radio() void test_radio()

Loading…
Cancel
Save

Powered by TurnKey Linux.