diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-04-29 11:49:53 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2023-04-29 11:49:53 -0400 |
commit | 19877425453269a09fed414b83686fa7162c5c67 (patch) | |
tree | 91f06ba1ff585cf66721fd075de96da4f0a82af5 | |
parent | bec1d957d216986da8da216aca557c4d31623fd2 (diff) | |
download | kutter-19877425453269a09fed414b83686fa7162c5c67.tar.gz kutter-19877425453269a09fed414b83686fa7162c5c67.tar.xz kutter-19877425453269a09fed414b83686fa7162c5c67.zip |
lib: Update to latest can2040 code
Fix tx hang after error frame during tx
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | lib/can2040/can2040.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |