Set initial AGC gain correctly

This commit is contained in:
Ismael Gomez 2018-07-07 12:43:50 +02:00
parent 881e278a10
commit 1e61dbceff
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ int rf_uhd_open_multi(char *args, void **h, uint32_t nof_channels)
uhd_tx_metadata_make(&handler->tx_md, false, 0, 0, false, false);
// Set starting gain to half maximum in case of using AGC
rf_uhd_set_rx_gain(handler, handler->info.max_tx_gain*0.7);
rf_uhd_set_rx_gain(handler, handler->info.max_rx_gain*0.7);
#if HAVE_ASYNC_THREAD
if (start_async_thread) {