From 2cabafb8d8a0a1187bf925e24ba518574c9084e5 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 Aug 2024 20:30:09 +0200 Subject: Fix bladerf and limesdr compilation --- src/output/BladeRF.cpp | 2 +- src/output/Lime.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/output') diff --git a/src/output/BladeRF.cpp b/src/output/BladeRF.cpp index c16b64d..fed2b09 100644 --- a/src/output/BladeRF.cpp +++ b/src/output/BladeRF.cpp @@ -242,7 +242,7 @@ double BladeRF::get_bandwidth(void) const SDRDevice::run_statistics_t BladeRF::get_run_statistics(void) const { run_statistics_t rs; - rs["frames"] = num_frames_modulated; + rs["frames"].v = num_frames_modulated; return rs; } diff --git a/src/output/Lime.cpp b/src/output/Lime.cpp index 47045e7..3ef981e 100644 --- a/src/output/Lime.cpp +++ b/src/output/Lime.cpp @@ -321,11 +321,11 @@ double Lime::get_bandwidth(void) const SDRDevice::run_statistics_t Lime::get_run_statistics(void) const { run_statistics_t rs; - rs["underruns"] = underflows; - rs["overruns"] = overflows; - rs["dropped_packets"] = dropped_packets; - rs["frames"] = num_frames_modulated; - rs["fifo_fill"] = m_last_fifo_fill_percent * 100; + rs["underruns"].v = underflows; + rs["overruns"].v = overflows; + rs["dropped_packets"].v = dropped_packets; + rs["frames"].v = num_frames_modulated; + rs["fifo_fill"].v = m_last_fifo_fill_percent * 100; return rs; } -- cgit v1.2.3