Skip to content

Commit 720569e

Browse files
committed
fix(gls_mod): fix total speed printout values
1 parent 17eafd1 commit 720569e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comp/mfb_tools/debug/gen_loop_switch/sw/gls_mod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ def run_test(
205205
tx_total_speed = round(tx_total_speed, 2)
206206
rx_total_speed = round(rx_total_speed, 2)
207207

208-
tx_total_speed_conv, tx_units = convert_units(tx_app_speed)
209-
rx_total_speed_conv, rx_units = convert_units(rx_app_speed)
208+
tx_total_speed_conv, tx_units = convert_units(tx_total_speed)
209+
rx_total_speed_conv, rx_units = convert_units(rx_total_speed)
210210

211211
# Total => all ports added together
212212
print(f"Total Speed TX: {tx_total_speed_conv:7.2f} [{tx_units}bps]")

0 commit comments

Comments
 (0)