aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_0.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-03 18:03:17 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-03 18:03:17 +0100
commit618c88a6e3c594b8382b4c61710a968c6adcdf49 (patch)
tree314e99e56cc0715fdcbeed2189fc6056a5c6e4d0 /src/fig0_0.cpp
parent4e196f337303304cc9cb15b5d7d345646486e68f (diff)
downloadetisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.tar.gz
etisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.tar.bz2
etisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.zip
Output YAML
Diffstat (limited to 'src/fig0_0.cpp')
-rw-r--r--src/fig0_0.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fig0_0.cpp b/src/fig0_0.cpp
index b643185..96724f1 100644
--- a/src/fig0_0.cpp
+++ b/src/fig0_0.cpp
@@ -42,11 +42,11 @@ fig_result_t fig0_0(fig0_common_t& fig0, const display_settings_t &disp)
}
const uint8_t cid = (f[1] & 0xF0) >> 4;
- r.msgs.emplace_back(1, strprintf("Country ID=%d", cid));
+ r.msgs.emplace_back(strprintf("Country ID=%d", cid));
const uint16_t eref = (f[1] & 0x0F)*256 + \
f[2];
- r.msgs.emplace_back(1, strprintf("Ensemble reference=%d", eref));
+ r.msgs.emplace_back(strprintf("Ensemble reference=%d", eref));
const uint8_t ch = (f[3] & 0xC0) >> 6;
r.msgs.push_back(strprintf("Change flag=%d", ch));