Keep track of longest shortfall.

This adds six cycles to the TX and RX shortfall paths.
This commit is contained in:
Martin Ling
2021-12-24 09:35:41 +00:00
parent a7bd1e3ede
commit 2c86f493d9
5 changed files with 22 additions and 6 deletions

View File

@@ -165,6 +165,8 @@ typedef struct {
uint32_t m4_count;
/** Number of shortfalls. */
uint32_t num_shortfalls;
/** Longest shortfall. */
uint32_t longest_shortfall;
} hackrf_m0_state;
struct hackrf_device_list {