From 06bb89da4e3e16128a5882af1dc3d7228835671a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 30 Jul 2023 12:13:49 -0400 Subject: [PATCH] changed to not --- rpitx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpitx.py b/rpitx.py index 1878776a..e23c4ca1 100644 --- a/rpitx.py +++ b/rpitx.py @@ -381,7 +381,7 @@ if __name__ == "__main__": sleep(0.5) if GPIO.input(squelch) == False: print("carrier received!") - command_tx = ~command_tx + command_tx = not command_tx print(command_tx) output(txLed, txLedOn) sleep(4.0) @@ -397,7 +397,7 @@ if __name__ == "__main__": sleep(0.5) if GPIO.input(squelch) == False: print("carrier received!") - command_tx = ~command_tx + command_tx = not command_tx print(command_tx) output(txLed, txLedOn) sleep(4.0)