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 409af75a93
commit cc7adfa068
5 changed files with 13 additions and 4 deletions

View File

@@ -357,7 +357,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.