Fix double-counting of overlap samples in stats.
This commit is contained in:
parent
af4951a494
commit
e8adeb3414
|
|
@ -715,7 +715,7 @@ int main(int argc, char **argv) {
|
|||
demodulate2400AC(buf);
|
||||
}
|
||||
|
||||
Modes.stats_current.samples_processed += buf->validLength;
|
||||
Modes.stats_current.samples_processed += buf->validLength - buf->overlap;
|
||||
Modes.stats_current.samples_dropped += buf->dropped;
|
||||
end_cpu_timing(&start_time, &Modes.stats_current.demod_cpu);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue