From 19877425453269a09fed414b83686fa7162c5c67 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 29 Apr 2023 11:49:53 -0400 Subject: [PATCH] lib: Update to latest can2040 code Fix tx hang after error frame during tx Signed-off-by: Kevin O'Connor --- lib/can2040/can2040.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/can2040/can2040.c b/lib/can2040/can2040.c index 759f0974..9eef0d43 100644 --- a/lib/can2040/can2040.c +++ b/lib/can2040/can2040.c @@ -113,7 +113,7 @@ static const uint16_t can2040_program_instructions[] = { 0x20c4, // 28: wait 1 irq, 4 0x00d9, // 29: jmp pin, 25 0x023a, // 30: jmp !x, 26 [2] - 0xc027, // 31: irq wait 7 + 0x001f, // 31: jmp 31 }; // Local names for PIO state machine IRQs