BPF present, SR_FRS not present

pull/251/head
alanbjohnston 3 years ago committed by GitHub
parent fe845a40d3
commit 453d287607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3555,16 +3555,16 @@ void config_gpio() {
pinMode(BPF_PIN, INPUT_PULLUP); // Read LPF to see if present pinMode(BPF_PIN, INPUT_PULLUP); // Read LPF to see if present
// pinMode(SQUELCH, INPUT); // Squelch from TXC // pinMode(SQUELCH, INPUT); // Squelch from TXC
// if (digitalRead(BPF_PIN) == FALSE) { if (digitalRead(BPF_PIN) == FALSE) {
if (digitalRead(BPF_PIN) != FALSE) { // force BPF present // if (digitalRead(BPF_PIN) != FALSE) { // force BPF present
Serial.println("BPF present - transmit enabled"); Serial.println("BPF present - transmit enabled");
filter_present = true; filter_present = true;
} }
else else
Serial.println("BPF not present - no transmitting after CW ID"); Serial.println("BPF not present - no transmitting after CW ID");
if (digitalRead(TXC_PIN) == FALSE) { // if (digitalRead(TXC_PIN) == FALSE) {
// if (digitalRead(TXC_PIN) != FALSE) { // force SR_FRS not present if (digitalRead(TXC_PIN) != FALSE) { // force SR_FRS not present
Serial.println("SR_FRS present"); Serial.println("SR_FRS present");
sr_frs_present = true; sr_frs_present = true;
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.