From 1046f39d51c80faf04701ed3e924b746d31a54ce Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 19 Jun 2026 08:10:55 -0400 Subject: [PATCH] Update transmit.py cleanup --- transmit.py | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/transmit.py b/transmit.py index df72e3a1..52e21bea 100644 --- a/transmit.py +++ b/transmit.py @@ -709,27 +709,25 @@ if __name__ == "__main__": else: print("Transmit frequency: ",tx) if len(config) > 7: - rxf = float(config[7]) -# print(rxf) -# print( "{:.4f}".format(rxf)) - rx = "{:.4f}".format(rxf) - print(rx) + rxf = float(config[7]) + rx = "{:.4f}".format(rxf) + print(rx) if len(config) > 8: if config[8] == 'y' or config[8] == 'yes': hab_mode = True print("Balloon (HAB) mode is configured.") if len(config) > 9: - rxpl = float(config[9]) - # print(rxpl) - # print( "{:.0f}".format(rxpl)) - rxpl_value = "{:.0f}".format(rxpl) - print(rxpl_value) + rxpl = float(config[9]) +# print(rxpl) +# print( "{:.0f}".format(rxpl)) + rxpl_value = "{:.0f}".format(rxpl) + print(rxpl_value) if len(config) > 10: - txpl = float(config[10]) + txpl = float(config[10]) # print(txpl) # print( "{:.0f}".format(txpl)) - txpl_value = "{:.0f}".format(txpl) - print(txpl_value) + txpl_value = "{:.0f}".format(txpl) + print(txpl_value) print(config) print # print(callsign)