From 96a912d55544d7f8b1995d4621e1ca613e8f1a7a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 18 Feb 2026 22:23:27 -0500 Subject: [PATCH] Update program_fm.py fix float --- groundstation/program_fm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/groundstation/program_fm.py b/groundstation/program_fm.py index 759b11bd..01141fed 100644 --- a/groundstation/program_fm.py +++ b/groundstation/program_fm.py @@ -10,8 +10,9 @@ if __name__ == "__main__": print("There are arguments!") txf = float(sys.argv[1]) if (len(sys.argv)) > 2: - rxf = loat(sys.argv[2]) - print("Programming FM module!\n") + print("There are more arguments!") + rxf = float(sys.argv[2]) + print("Programming FM module!\n") tx = "{:.4f}".format(txf) rx = "{:.4f}".format(rxf) print(tx)