From 3bb2e59f9dc81e1805b1e97052818ec7ed44f827 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 28 Jan 2023 21:14:19 -0500 Subject: [PATCH] put code to detect bps and sr-frs back in --- cubesatsim/cubesatsim.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index a41ff6e5..592efe93 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3667,16 +3667,16 @@ void config_gpio() { pinMode(BPF_PIN, INPUT_PULLUP); // Read LPF to see if present // pinMode(SQUELCH, INPUT); // Squelch from TXC -// if (digitalRead(BPF_PIN) == FALSE) { - if (true) { // force BPF present + if (digitalRead(BPF_PIN) == FALSE) { +// if (true) { // force BPF present Serial.println("BPF present - transmit enabled"); filter_present = true; } else Serial.println("BPF not present - no transmitting after CW ID"); -// if (digitalRead(TXC_PIN) == FALSE) { - if (true) { // force SR_FRS not present + if (digitalRead(TXC_PIN) == FALSE) { +// if (true) { // force SR_FRS not present Serial.println("SR_FRS present"); sr_frs_present = true; }