Bugfix record indefinitely
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m44s

This commit is contained in:
Casper Jansen 2024-02-27 11:02:45 +01:00
parent 878da3369b
commit 3b2f2f7c41

View File

@ -208,7 +208,7 @@ class Recording:
recstatus = RecordStatus(curT=self.recordedTime, done=False) recstatus = RecordStatus(curT=self.recordedTime, done=False)
if self.recordedTime >= self._requiredRecordingLength: if self._requiredRecordingLength is not None and self.recordedTime >= self._requiredRecordingLength:
self._recState = RecordingState.AllDataStored self._recState = RecordingState.AllDataStored
self._stop <<= True self._stop <<= True
recstatus.done = True recstatus.done = True