Cast to int instead of using .integer

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-09-07 11:25:34 -07:00
parent 40908b1b92
commit 6a5faf9ebf
28 changed files with 95 additions and 95 deletions

View File

@@ -455,7 +455,7 @@ class PtpTdSink(Reset):
while True:
await clock_edge_event
sdi_sample = self.data.value.integer
sdi_sample = int(self.data.value)
# increment fns portion
self.ts_fns += ((self.period_ns << 32) + self.period_fns)