Skip to content

Commit

Permalink
Set a valid date for the last ack variable.
Browse files Browse the repository at this point in the history
Since the default value will always be well below the current time + waittime, waittime will always be ignored.
  • Loading branch information
hugokernel committed May 29, 2024
1 parent 3dd5eac commit 3221375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygnssutils/ubxload.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, file: object, stream: object, **kwargs):
self._serial_lock = Lock()
self._out_queue = Queue()
self._stop_event = Event()
self._last_ack = datetime.fromordinal(1)
self._last_ack = datetime.now()

self._write_thread = Thread(
target=self._write_data,
Expand Down

0 comments on commit 3221375

Please sign in to comment.