diff options
-rw-r--r-- | src/argaze/TobiiGlassesPro2/TobiiData.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiData.py b/src/argaze/TobiiGlassesPro2/TobiiData.py index 172aa12..b588ded 100644 --- a/src/argaze/TobiiGlassesPro2/TobiiData.py +++ b/src/argaze/TobiiGlassesPro2/TobiiData.py @@ -78,8 +78,7 @@ class TobiiDataStream(threading.Thread): self.__data_socket = self.__network.make_socket() self.__data_queue = queue.Queue() - self.__ts_start = 0 - + self.__stop_event = threading.Event() self.__read_lock = threading.Lock() @@ -105,6 +104,7 @@ class TobiiDataStream(threading.Thread): def open(self): """Start data reception.""" + self.__ts_start = 0 self.__keep_alive_thread.start() threading.Thread.start(self) |