aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DabMod.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 6d85c8e..7a147a0 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -524,10 +524,15 @@ int main(int argc, char* argv[])
outputuhd_conf.muteNoTimestamps = (pt.get("delaymanagement.mutenotimestamps", 0) == 1);
}
- logger.level(info) << "starting up";
+ logger.level(info) << "Version " <<
+#if defined(GITVERSION)
+ GITVERSION
+#else
+ VERSION
+#endif
+ << " starting up";
if (!(modconf.use_offset_file || modconf.use_offset_fixed)) {
- fprintf(stderr, "No Modulator offset defined, setting to 0\n");
logger.level(debug) << "No Modulator offset defined, setting to 0";
modconf.use_offset_fixed = true;
modconf.offset_fixed = 0;