aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-06-27 11:43:25 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-06-27 11:43:25 +0200
commit71740c7ea14706986507159f8a0e101940f99d4d (patch)
tree10d05ac481e9d7c17f89fc33abdad955eb6a054b
parent150b75b244602c789934f1a5094f33aa7da3c09a (diff)
downloaddabmod-71740c7ea14706986507159f8a0e101940f99d4d.tar.gz
dabmod-71740c7ea14706986507159f8a0e101940f99d4d.tar.bz2
dabmod-71740c7ea14706986507159f8a0e101940f99d4d.zip
Add a few cosmetic changes
-rw-r--r--lib/RemoteControl.cpp2
-rw-r--r--src/output/Dexter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/RemoteControl.cpp b/lib/RemoteControl.cpp
index 6e9af20..16359ad 100644
--- a/lib/RemoteControl.cpp
+++ b/lib/RemoteControl.cpp
@@ -193,7 +193,7 @@ RemoteControllable* RemoteControllers::get_controllable_(const std::string& name
[&](RemoteControllable* r) { return r->get_rc_name() == name; });
if (rc == controllables.end()) {
- throw ParameterError("Module name unknown");
+ throw ParameterError(string{"Module name '"} + name + "' unknown");
}
else {
return *rc;
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp
index dd51517..9c16ea7 100644
--- a/src/output/Dexter.cpp
+++ b/src/output/Dexter.cpp
@@ -204,7 +204,7 @@ Dexter::Dexter(SDRDeviceConfig& config) :
pacontrol_set_targetpower(m_zmq_sock, *m_conf.pacontrol_targetpower);
}
else {
- etiLog.level(warn) << "Config does not defined PA target power";
+ etiLog.level(warn) << "Config does not define PA target power";
}
}