summaryrefslogtreecommitdiffstats
path: root/src/EtiReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r--src/EtiReader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/EtiReader.cpp b/src/EtiReader.cpp
index 067d6d0..1511015 100644
--- a/src/EtiReader.cpp
+++ b/src/EtiReader.cpp
@@ -54,14 +54,13 @@ enum ETI_READER_STATE {
EtiReader::EtiReader(
double& tist_offset_s,
- unsigned tist_delay_stages,
- RemoteControllers* rcs) :
+ unsigned tist_delay_stages) :
state(EtiReaderStateSync),
myTimestampDecoder(tist_offset_s, tist_delay_stages)
{
PDEBUG("EtiReader::EtiReader()\n");
- myTimestampDecoder.enrol_at(*rcs);
+ rcs.enrol(&myTimestampDecoder);
myCurrentFrame = 0;
eti_fc_valid = false;