mirror of https://github.com/commaai/panda.git
refresh can tx slots available after write (#1432)
Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
parent
52f96bac68
commit
c898ec7ce8
|
@ -100,6 +100,8 @@ void comms_can_write(uint8_t *data, uint32_t len) {
|
||||||
pos += can_write_buffer.ptr;
|
pos += can_write_buffer.ptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
refresh_can_tx_slots_available();
|
||||||
}
|
}
|
||||||
|
|
||||||
void comms_can_reset(void) {
|
void comms_can_reset(void) {
|
||||||
|
|
Loading…
Reference in New Issue