diff options
-rw-r--r-- | src/output/BladeRF.cpp | 2 | ||||
-rw-r--r-- | src/output/Lime.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
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; } |