summaryrefslogtreecommitdiff
path: root/hardware/fw
diff options
context:
space:
mode:
Diffstat (limited to 'hardware/fw')
-rw-r--r--hardware/fw/tw_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardware/fw/tw_test.py b/hardware/fw/tw_test.py
index e329abd..54e917a 100644
--- a/hardware/fw/tw_test.py
+++ b/hardware/fw/tw_test.py
@@ -85,7 +85,7 @@ if __name__ == '__main__':
continue
crc32, payload = unpack_head('I', cobs.decode(data))
- pid, seq, data = unpack_head('xBH', payload)
+ pid, seq, gps_1pps, data = unpack_head('BxHI', payload)
ts = time()
# Calculate byte-wise CRC32
@@ -126,7 +126,7 @@ if __name__ == '__main__':
print()
lines_written += 1
- if lines_written == 80:
+ if lines_written == 50:
lines_written = 0
print('\033[2J\033[H', end='')
delta = ts-capture_start