mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 22:15:40 +01:00
Previously, finding the M0 in IDLE mode was ambiguous; it could indicate either a normal outcome, or a shortfall limit having being hit. To disambiguate, we add an error field to the M0 state. The errors currently possible are an RX timeout or a TX timeout, both of which can be obtained efficiently from the current operating mode due to the values used. This adds 3 cycles to both shortfall paths, in order to shift down the mode to obtain the error code, and store it to the M0 state.