lib: Update to latest can2040 code
Simplify tx state tracking. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -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];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user