summaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-30 15:27:09 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-30 15:27:09 +0100
commitca7370aff2f072e9a1f80e89ce20c08f976e99ca (patch)
treef63f71c42de33b408ecfe10d79a46c67063ff747 /src/output
parent4c94f39c26639e57270398799538f420f8c4378a (diff)
downloaddabmod-ca7370aff2f072e9a1f80e89ce20c08f976e99ca.tar.gz
dabmod-ca7370aff2f072e9a1f80e89ce20c08f976e99ca.tar.bz2
dabmod-ca7370aff2f072e9a1f80e89ce20c08f976e99ca.zip
SDR RC: ensure returned format is std::fixed
Diffstat (limited to 'src/output')
-rw-r--r--src/output/SDR.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp
index 71f1436..b47433d 100644
--- a/src/output/SDR.cpp
+++ b/src/output/SDR.cpp
@@ -395,6 +395,7 @@ void SDR::set_parameter(const string& parameter, const string& value)
const string SDR::get_parameter(const string& parameter) const
{
stringstream ss;
+ ss << std::fixed;
if (parameter == "txgain") {
ss << m_config.txgain;
}