aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DabMod.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index d624a12..436ce9a 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -528,6 +528,7 @@ static run_modulator_state_t run_modulator(modulator_data& m)
else {
throw logic_error("Unhandled framesize==0!");
}
+ continue;
}
else if (framesize < 0) {
etiLog.level(error) << "Input read error.";
@@ -542,6 +543,8 @@ static run_modulator_state_t run_modulator(modulator_data& m)
throw std::runtime_error("ETI read error");
}
+ last_frame_received = chrono::steady_clock::now();
+
fct = m.etiReader->getFct();
fp = m.etiReader->getFp();
}