diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-12 15:59:29 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-12 15:59:29 +0100 |
commit | f6e3913f80ec15f2a554dc2ad1fe219cefd1f5d2 (patch) | |
tree | 449342eee3badc18052485ff007640ceef987ef6 /src/output/SDR.cpp | |
parent | 9f1ba12f3640f95ebb56b83069b925c4d63b5f43 (diff) | |
download | dabmod-f6e3913f80ec15f2a554dc2ad1fe219cefd1f5d2.tar.gz dabmod-f6e3913f80ec15f2a554dc2ad1fe219cefd1f5d2.tar.bz2 dabmod-f6e3913f80ec15f2a554dc2ad1fe219cefd1f5d2.zip |
Lime: show fifo fill percent in RC
Diffstat (limited to 'src/output/SDR.cpp')
-rw-r--r-- | src/output/SDR.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp index 31a5c79..95b54f9 100644 --- a/src/output/SDR.cpp +++ b/src/output/SDR.cpp @@ -86,7 +86,7 @@ SDR::SDR(SDRDeviceConfig& config, std::shared_ptr<SDRDevice> device) : RC_ADD_PARAMETER(gpsdo_holdover, "1 if the GPSDO is in holdover, 0 if it is using gnss"); if (std::dynamic_pointer_cast<Lime>(device)) { - RC_ADD_PARAMETER(fifo_fill, "A value representing the Lime FIFO fullness"); + RC_ADD_PARAMETER(fifo_fill, "A value representing the Lime FIFO fullness [percent]"); } } @@ -463,7 +463,7 @@ const string SDR::get_parameter(const string& parameter) const const auto dev = std::dynamic_pointer_cast<Lime>(m_device); if (dev) { - ss << dev->get_fifo_fill_count(); + ss << dev->get_fifo_fill_percent(); } else { ss << "Parameter '" << parameter << |