aboutsummaryrefslogtreecommitdiffstats
path: root/src/EtiReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-11 21:04:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-11 21:29:43 +0200
commitb4d788a065fb3338df26c44a94d804c194af4955 (patch)
treed711b52d9f8f24dd91db1152ba362b3dc513232d /src/EtiReader.cpp
parentb07511ef22303f969b6aae2bcb026891b355d0b0 (diff)
downloaddabmod-b4d788a065fb3338df26c44a94d804c194af4955.tar.gz
dabmod-b4d788a065fb3338df26c44a94d804c194af4955.tar.bz2
dabmod-b4d788a065fb3338df26c44a94d804c194af4955.zip
Update common EDI input and adapt to API changes
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r--src/EtiReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index be4ba8e..33194b2 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -475,7 +475,7 @@ void EdiReader::add_subchannel(EdiDecoder::eti_stc_data&& stc)
}
}
-void EdiReader::assemble()
+void EdiReader::assemble(EdiDecoder::ReceivedTagPacket&& tagpacket)
{
if (not m_proto_valid) {
throw std::logic_error("Cannot assemble EDI data before protocol");
@@ -640,7 +640,7 @@ bool EdiTransport::rxPacket()
EdiInput::EdiInput(double& tist_offset_s, float edi_max_delay_ms) :
ediReader(tist_offset_s),
- decoder(ediReader, false),
+ decoder(ediReader),
ediTransport(decoder)
{
if (edi_max_delay_ms > 0.0f) {