From b80a42947bc5b983be661e5ab38a6e323e4fcce0 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 2 Jan 2025 11:24:46 +0100 Subject: [PATCH] Changed formatting --- docs/utilities/rns_audio_call_calc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/utilities/rns_audio_call_calc.py b/docs/utilities/rns_audio_call_calc.py index 61bbfff..6bb2ccb 100644 --- a/docs/utilities/rns_audio_call_calc.py +++ b/docs/utilities/rns_audio_call_calc.py @@ -98,7 +98,7 @@ def simulate(link_speed=9600, audio_slot_ms=70, codec_rate=1200, method="msgpack print(f" Encrypted payload : {ENCRYPTED_PAYLOAD_LEN} bytes") print(f" Transport overhead : {TRANSPORT_OVERHEAD} bytes ({RNS_OVERHEAD} from RNS, {PHY_OVERHEAD} from PHY)") print(f" On-air length : {PACKET_LEN} bytes") - print(f" Packet airtime : {PACKET_AIRTIME}ms") + print(f" Packet airtime : {round(PACKET_AIRTIME,2)}ms") print( "\n===== Results for "+RNS.prettyspeed(LINK_SPEED)+" Link Speed ===\n") print(f" Final latency : {TOTAL_LATENCY}ms")