From febc63d2867abe6bb1af30cb1c6a89b3ab8f7c6d Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Fri, 1 Aug 2025 20:05:37 +1000 Subject: [PATCH] * fix: init rx_air_time to 0 --- src/Dispatcher.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Dispatcher.h b/src/Dispatcher.h index a4923063..25a41d82 100644 --- a/src/Dispatcher.h +++ b/src/Dispatcher.h @@ -134,7 +134,9 @@ protected: Dispatcher(Radio& radio, MillisecondClock& ms, PacketManager& mgr) : _radio(&radio), _ms(&ms), _mgr(&mgr) { - outbound = NULL; total_air_time = 0; next_tx_time = 0; + outbound = NULL; + total_air_time = rx_air_time = 0; + next_tx_time = 0; cad_busy_start = 0; next_floor_calib_time = next_agc_reset_time = 0; _err_flags = 0;