lib: Update to latest can2040 code

Minor comment change to unstuf_pull_bits()
Introduce unstuf_get_raw() helper function
Move crc stuffed bit calculation to data_state_go_crc()
Restore stuffed_bits state on missing ack
Use a single pio_irq_set() function
Reschedule tx if previous tx unexpectedly finished transmit
Simplify report_state handling

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2022-11-19 10:30:11 -05:00
parent 8977c4e764
commit cfb633a0ec
3 changed files with 99 additions and 82 deletions

View File

@@ -146,4 +146,4 @@ used to upload firmware to devices flashed with the CanBoot bootloader.
The can2040 directory contains code from:
https://github.com/KevinOConnor/can2040
revision aff2940f1fa5b0c9822a7694403ec9d70710193d.
revision e509ac03367d5b4c72a44eb9cecc3182b2dbe881.