Skip to content

Commit

Permalink
Add a note about the timestamp overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mesca committed Oct 5, 2024
1 parent 73f0925 commit f0fc747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeflux_octaeeg/nodes/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def _read(self):
if data and (type(data) is list or type(data) is bytes):
# TODO: check impedance
# TODO: check for missing or out of order packets
# TODO: handle timestamp overflow after 71 minutes
for block_index in range(0, len(data), block_size):
block = data[block_index:block_index + block_size]
timestamp = int.from_bytes(block[0:4], byteorder='little')
Expand Down

0 comments on commit f0fc747

Please sign in to comment.