bench: hwitl: Fix design to HW comms
Forgot to remove the sync header.
This commit is contained in:
parent
1c281bc0f7
commit
82d4e6808b
@ -42,6 +42,13 @@ class MacDevReceiver():
|
||||
async def main_rx(self):
|
||||
while True:
|
||||
frame = await self.eth_rx.queue.get()
|
||||
try:
|
||||
while (frame[0] != 0xD5):
|
||||
frame = frame[1:]
|
||||
frame = frame[1:]
|
||||
except:
|
||||
self.dut._log.debug("NLP / Invalid frame")
|
||||
continue
|
||||
self.dut._log.info("RX Frame: " + str(frame))
|
||||
self.macdev.send(frame)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user