Merge branch 'bugfix/twai_driver_cxx_test' into 'master'

fix(twai): fixed build errors in cxx environment

Closes IDFGH-16058

See merge request espressif/esp-idf!40818
This commit is contained in:
Wan Lei
2025-08-14 09:41:23 +08:00
14 changed files with 200 additions and 212 deletions

View File

@@ -394,7 +394,7 @@ typedef enum {
/**
* @brief Array initializer for all supported clock sources of TWAI
*/
#define SOC_TWAI_CLKS {SOC_MOD_CLK_APB}
#define SOC_TWAI_CLKS {(soc_periph_twai_clk_src_t)SOC_MOD_CLK_APB}
/**
* @brief TWAI clock source