diff --git a/components/soc/src/esp32/include/hal/twai_ll.h b/components/soc/src/esp32/include/hal/twai_ll.h index d901bed29d..c82692af54 100644 --- a/components/soc/src/esp32/include/hal/twai_ll.h +++ b/components/soc/src/esp32/include/hal/twai_ll.h @@ -368,6 +368,8 @@ static inline void twai_ll_set_bus_timing(twai_dev_t *hw, uint32_t brp, uint32_t //Need to set brp_div bit hw->interrupt_enable_reg.brp_div = 1; brp /= 2; + } else { + hw->interrupt_enable_reg.brp_div = 0; } #endif hw->bus_timing_0_reg.brp = (brp / 2) - 1;