diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-08-21 20:30:09 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-08-21 20:30:09 +0200 |
commit | 2cabafb8d8a0a1187bf925e24ba518574c9084e5 (patch) | |
tree | 524e4e0579da72ed14cae6ebd4ceeaa1f75b36d7 | |
parent | 11a5d823958ec103c6a473a7fa322847ca74dee7 (diff) | |
download | dabmod-2cabafb8d8a0a1187bf925e24ba518574c9084e5.tar.gz dabmod-2cabafb8d8a0a1187bf925e24ba518574c9084e5.tar.bz2 dabmod-2cabafb8d8a0a1187bf925e24ba518574c9084e5.zip |
Fix bladerf and limesdr compilation
-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; } |