diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-07 16:53:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-07 16:53:32 +0200 |
commit | b455a74818b35566f4bf524e4824c000bcf3194f (patch) | |
tree | 1691540516982c48d5d98d07a2b55620be089783 /src/EtiReader.cpp | |
parent | 7a66d48f815b475d98e56a99a5125ba3b8592e8d (diff) | |
download | dabmod-b455a74818b35566f4bf524e4824c000bcf3194f.tar.gz dabmod-b455a74818b35566f4bf524e4824c000bcf3194f.tar.bz2 dabmod-b455a74818b35566f4bf524e4824c000bcf3194f.zip |
Rework remotecontrol
Diffstat (limited to 'src/EtiReader.cpp')
-rw-r--r-- | src/EtiReader.cpp | 5 |
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; |