refresh can tx slots available after write (#1432)

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh 2023-05-20 22:00:13 -07:00 committed by GitHub
parent 52f96bac68
commit c898ec7ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ void comms_can_write(uint8_t *data, uint32_t len) {
pos += can_write_buffer.ptr;
}
}
refresh_can_tx_slots_available();
}
void comms_can_reset(void) {