Merge pull request #1139 from martinling/tx-flush

Support flushing the device TX buffer before ending transmission
This commit is contained in:
Michael Ossmann
2022-09-14 05:45:40 -04:00
committed by GitHub
3 changed files with 91 additions and 2 deletions

View File

@@ -238,6 +238,9 @@ extern ADDAPI int ADDCALL hackrf_start_tx(
hackrf_sample_block_cb_fn callback,
void* tx_ctx);
extern ADDAPI int ADDCALL hackrf_enable_tx_flush(hackrf_device* device, int enable);
extern ADDAPI int ADDCALL hackrf_await_tx_flush(hackrf_device* device);
extern ADDAPI int ADDCALL hackrf_stop_tx(hackrf_device* device);
extern ADDAPI int ADDCALL hackrf_get_m0_state(