From d14814a92377084177753c7a60d83a9307ad0672 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 16 Jan 2021 08:06:09 +0100 Subject: Update common code to latest, update zmq.hpp and adapt --- lib/edi/ETIDecoder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/edi/ETIDecoder.cpp') diff --git a/lib/edi/ETIDecoder.cpp b/lib/edi/ETIDecoder.cpp index 88a7333..656f50b 100644 --- a/lib/edi/ETIDecoder.cpp +++ b/lib/edi/ETIDecoder.cpp @@ -57,9 +57,9 @@ void ETIDecoder::push_bytes(const vector &buf) m_dispatcher.push_bytes(buf); } -void ETIDecoder::push_packet(const vector &buf) +void ETIDecoder::push_packet(Packet& pack) { - m_dispatcher.push_packet(buf); + m_dispatcher.push_packet(pack); } void ETIDecoder::setMaxDelay(int num_af_packets) @@ -107,7 +107,7 @@ bool ETIDecoder::decode_deti(const std::vector& value, const tag_name_t uint8_t fcth = (detiHeader >> 8) & 0x1F; uint8_t fct = detiHeader & 0xFF; - fc.dflc = fcth * 250 + fct; // modulo 5000 counter + fc.dlfc = fcth * 250 + fct; // modulo 5000 counter uint32_t etiHeader = read_32b(value.begin() + 2); -- cgit v1.2.3