lib: Update to latest can2040 code

Avoid some gcc warnings by using uint32_t for iterators
Better document the fallthough case statement in crc_bytes()
Fix txpending race from report_line_ackdone()
Make can2040_transmit() multi-cpu atomic

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2023-04-11 11:20:57 -04:00
parent 83308a1051
commit aa8a6f4cf1
2 changed files with 21 additions and 13 deletions

View File

@@ -155,7 +155,7 @@ used to upload firmware to devices flashed with the CanBoot bootloader.
The can2040 directory contains code from:
https://github.com/KevinOConnor/can2040
revision 177b0073fe6f19281ee7f7fdbe9599e32d1b4b8b.
revision d1190afcaa6245c20da28199d06e453d2e743099.
The Huada HC32F460 directory contains code from:
https://www.hdsc.com.cn/Category83-1490