fix(spi_master): fix spi halt when remove device who using rc_fast

This commit is contained in:
wanlei
2024-05-24 19:38:25 +08:00
committed by wanckl
parent beb054baad
commit 1c93d41325
3 changed files with 11 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ typedef enum {
/**
* @brief Array initializer for all supported clock sources of SPI
*/
#define SOC_SPI_CLKS {SOC_MOD_CLK_PLL_F80M, SOC_MOD_CLK_XTAL, SOC_MOD_CLK_RC_FAST}
#define SOC_SPI_CLKS {SOC_MOD_CLK_PLL_F80M, SOC_MOD_CLK_RC_FAST, SOC_MOD_CLK_XTAL}
/**
* @brief Type of SPI clock source.