From 1a9c611195efafdc6b4e0d67b3868ab9d72725c8 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 31 Oct 2018 22:09:03 -0400 Subject: [PATCH] Fixed issue with tdrift average when reset --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 179bed9..3081d78 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8275,6 +8275,9 @@ void MainWindow::observeTimeDeltaForAverage(float delta){ void MainWindow::resetTimeDeltaAverage(){ m_timeDeltaMsMMA = 0; m_timeDeltaMsMMA_N = 0; + + // observe zero for reset + observeTimeDeltaForAverage(0); } void MainWindow::processRxActivity() {