summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-24 16:12:14 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-24 16:12:14 +0200
commitc3e716e55fec2f80832f5be4e7cdb3ea0fb389f5 (patch)
tree2ff19e78c5437fc7dab1231160aee4598a777f81
parentee0b8fbd51519660d917f6d9309ae9a2c097c976 (diff)
downloaddabmod-c3e716e55fec2f80832f5be4e7cdb3ea0fb389f5.tar.gz
dabmod-c3e716e55fec2f80832f5be4e7cdb3ea0fb389f5.tar.bz2
dabmod-c3e716e55fec2f80832f5be4e7cdb3ea0fb389f5.zip
Add version info to starting up message
-rw-r--r--src/DabMod.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 3ed5e40..c204fb7 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -592,7 +592,13 @@ int launch_modulator(int argc, char* argv[])
}
- etiLog.level(info) << "Starting up";
+ etiLog.level(info) << "Starting up version " <<
+#if defined(GITVERSION)
+ GITVERSION;
+#else
+ VERSION;
+#endif
+
// When using the FIRFilter, increase the modulator offset pipelining delay
// by the correct amount