bench: hwitl: Fix design to HW comms

Forgot to remove the sync header.
This commit is contained in:
Markus Koch 2022-04-30 12:48:39 +02:00
parent 1c281bc0f7
commit 82d4e6808b

View File

@ -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)