mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 02:17:48 +00:00
Expose percent of data dropped during capture.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user