From c898ec7ce8b7d9a5656b18de810f7b80e8ca15d4 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 20 May 2023 22:00:13 -0700 Subject: [PATCH] refresh can tx slots available after write (#1432) Co-authored-by: Comma Device --- board/can_comms.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/can_comms.h b/board/can_comms.h index 93c32c71d..980d12ba8 100644 --- a/board/can_comms.h +++ b/board/can_comms.h @@ -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) {