mirror of https://github.com/PentHertz/srsLTE.git
Fix info format string
This commit is contained in:
parent
f250c83a66
commit
a9904c2b64
|
@ -705,7 +705,7 @@ void radio::set_rx_srate(const double& srate)
|
|||
|
||||
// Assert ratio is integer
|
||||
srsran_assert(((uint32_t)cur_rx_srate % (uint32_t)srate) == 0,
|
||||
"The sampling rate ratio is not integer (%.2f MHz / %.2 MHz = %.3f)",
|
||||
"The sampling rate ratio is not integer (%.2f MHz / %.2f MHz = %.3f)",
|
||||
cur_rx_srate / 1e6,
|
||||
srate / 1e6,
|
||||
cur_rx_srate / srate);
|
||||
|
@ -958,7 +958,7 @@ void radio::set_tx_srate(const double& srate)
|
|||
|
||||
// Assert ratio is integer
|
||||
srsran_assert(((uint32_t)cur_tx_srate % (uint32_t)srate) == 0,
|
||||
"The sampling rate ratio is not integer (%.2f MHz / %.2 MHz = %.3f)",
|
||||
"The sampling rate ratio is not integer (%.2f MHz / %.2f MHz = %.3f)",
|
||||
cur_rx_srate / 1e6,
|
||||
srate / 1e6,
|
||||
cur_rx_srate / srate);
|
||||
|
|
Loading…
Reference in New Issue