mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Expose percent of data dropped during capture.
This commit is contained in:
parent
11d15ec5b5
commit
a72a3489cf
@ -427,6 +427,10 @@ struct CaptureConfig {
|
||||
fifo { nullptr }
|
||||
{
|
||||
}
|
||||
|
||||
size_t dropped_percent() const {
|
||||
return baseband_bytes_dropped * 100U / baseband_bytes_received;
|
||||
}
|
||||
};
|
||||
|
||||
class CaptureConfigMessage : public Message {
|
||||
|
Loading…
Reference in New Issue
Block a user