Don't run track / filter expiry if reading recorded captures via --ifile

This commit is contained in:
Oliver Jowett 2021-02-04 16:27:31 +08:00
parent 5782ad7468
commit 11fb727325
1 changed files with 5 additions and 2 deletions

View File

@ -385,8 +385,11 @@ static void backgroundTasks(void) {
uint64_t now = mstime();
if (Modes.sdr_type != SDR_IFILE) {
// don't run these if processing data from a file
icaoFilterExpire();
trackPeriodicUpdate();
}
if (Modes.net) {
modesNetPeriodicWork();