summaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index cfbe13b..8b4de67 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -494,7 +494,20 @@ void printEnsemble(const shared_ptr<dabEnsemble>& ensemble)
ensemble->label.short_label();
etiLog.log(info, " (0x%x)", ensemble->label.flag());
- etiLog.log(info, " mode: %u", ensemble->mode);
+ switch (ensemble->transmission_mode) {
+ case TransmissionMode_e::TM_I:
+ etiLog.log(info, " mode: TM I");
+ break;
+ case TransmissionMode_e::TM_II:
+ etiLog.log(info, " mode: TM II");
+ break;
+ case TransmissionMode_e::TM_III:
+ etiLog.log(info, " mode: TM III");
+ break;
+ case TransmissionMode_e::TM_IV:
+ etiLog.log(info, " mode: TM IV");
+ break;
+ }
if (ensemble->lto_auto) {
time_t now = time(nullptr);