mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 17:49:14 -04:00
Track bytes from baseband and dropped when entering capture FIFO.
This commit is contained in:
parent
d63136c52e
commit
1789868b8a
2 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,8 @@ public:
|
|||
if( (bytes_written & event_bytes_mask) < (last_bytes_written & event_bytes_mask) ) {
|
||||
creg::m4txevent::assert();
|
||||
}
|
||||
config->baseband_bytes_received += length;
|
||||
config->baseband_bytes_dropped = config->baseband_bytes_received - bytes_written;
|
||||
|
||||
return written;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue