aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edi/ETIDecoder.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-19 14:47:55 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-19 14:47:55 +0200
commit6a9d4b12280f7d0411a44aaad9528d9cbb725b94 (patch)
tree7ae55087c7c219a4e1f31506858c5041aec2a204 /lib/edi/ETIDecoder.cpp
parent5fa3e1d291e5331f9684ad144ae302e7085174cb (diff)
downloaddabmod-6a9d4b12280f7d0411a44aaad9528d9cbb725b94.tar.gz
dabmod-6a9d4b12280f7d0411a44aaad9528d9cbb725b94.tar.bz2
dabmod-6a9d4b12280f7d0411a44aaad9528d9cbb725b94.zip
Common 44ae39c: Make SEQ and PSEQ available on EDI receive and improve error handling
Diffstat (limited to 'lib/edi/ETIDecoder.cpp')
-rw-r--r--lib/edi/ETIDecoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edi/ETIDecoder.cpp b/lib/edi/ETIDecoder.cpp
index 656f50b..a377692 100644
--- a/lib/edi/ETIDecoder.cpp
+++ b/lib/edi/ETIDecoder.cpp
@@ -69,7 +69,7 @@ void ETIDecoder::setMaxDelay(int num_af_packets)
#define AFPACKET_HEADER_LEN 10 // includes SYNC
-bool ETIDecoder::decode_starptr(const std::vector<uint8_t>& value, const tag_name_t& n)
+bool ETIDecoder::decode_starptr(const std::vector<uint8_t>& value, const tag_name_t& /*n*/)
{
if (value.size() != 0x40 / 8) {
etiLog.log(warn, "Incorrect length %02lx for *PTR", value.size());
@@ -89,7 +89,7 @@ bool ETIDecoder::decode_starptr(const std::vector<uint8_t>& value, const tag_nam
return true;
}
-bool ETIDecoder::decode_deti(const std::vector<uint8_t>& value, const tag_name_t& n)
+bool ETIDecoder::decode_deti(const std::vector<uint8_t>& value, const tag_name_t& /*n*/)
{
/*
uint16_t detiHeader = fct | (fcth << 8) | (rfudf << 13) | (ficf << 14) | (atstf << 15);