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

This commit is contained in:
wanlei
2025-02-27 11:42:15 +08:00
committed by Wan Lei
parent e40304b2ec
commit b43104538b
4 changed files with 12 additions and 3 deletions
@@ -354,7 +354,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.