From a9904c2b642d064fd141ba858430d8b5edc32981 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 8 Oct 2021 17:41:45 +0200 Subject: [PATCH] Fix info format string --- lib/src/radio/radio.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/radio/radio.cc b/lib/src/radio/radio.cc index 9d83d86fd..a1b2e2952 100644 --- a/lib/src/radio/radio.cc +++ b/lib/src/radio/radio.cc @@ -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);