mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 23:05:05 -06:00
lib: Update to latest can2040 code
Simplify tx state tracking. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2f9fe49cb8
commit
75c4b1238e
3 changed files with 153 additions and 139 deletions
|
@ -68,10 +68,10 @@ struct can2040 {
|
|||
|
||||
// Reporting
|
||||
uint32_t report_state;
|
||||
uint32_t report_eof_key;
|
||||
|
||||
// Transmits
|
||||
uint32_t tx_state;
|
||||
uint32_t tx_eof_key;
|
||||
uint32_t tx_pull_pos, tx_push_pos;
|
||||
struct can2040_transmit tx_queue[4];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue