diff --git a/lib/src/phy/rf/rf_zmq_imp_trx.h b/lib/src/phy/rf/rf_zmq_imp_trx.h index 92a15b4a8..bb1d40639 100644 --- a/lib/src/phy/rf/rf_zmq_imp_trx.h +++ b/lib/src/phy/rf/rf_zmq_imp_trx.h @@ -55,7 +55,7 @@ typedef struct { pthread_mutex_t mutex; cf_t* zeros; void* temp_buffer_convert; - uint32_t frequency_hz_mhz; + uint32_t frequency_mhz; } rf_zmq_tx_t; typedef struct { diff --git a/lib/src/phy/rf/rf_zmq_imp_tx.c b/lib/src/phy/rf/rf_zmq_imp_tx.c index cdf97a5d0..d9282a245 100644 --- a/lib/src/phy/rf/rf_zmq_imp_tx.c +++ b/lib/src/phy/rf/rf_zmq_imp_tx.c @@ -52,7 +52,7 @@ int rf_zmq_tx_open(rf_zmq_tx_t* q, rf_zmq_opts_t opts, void* zmq_ctx, char* sock } q->socket_type = opts.socket_type; q->sample_format = opts.sample_format; - q->frequency_hz_mhz = opts.frequency_mhz; + q->frequency_mhz = opts.frequency_mhz; rf_zmq_info(q->id, "Binding transmitter: %s\n", sock_args); @@ -216,7 +216,7 @@ bool rf_zmq_tx_match_freq(rf_zmq_tx_t* q, uint32_t freq_hz) { bool ret = false; if (q) { - ret = (q->frequency_hz_mhz == 0 || q->frequency_hz_mhz == freq_hz); + ret = (q->frequency_mhz == 0 || q->frequency_mhz == freq_hz); } return ret; }