From a9c890404e99d1c5263c81e6697280f66646dbed Mon Sep 17 00:00:00 2001 From: richardclli Date: Wed, 12 Nov 2025 09:27:58 +0800 Subject: [PATCH] fix(pa01): SDIO file access stability (#6771) --- radio/src/targets/pa01/hal.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/radio/src/targets/pa01/hal.h b/radio/src/targets/pa01/hal.h index 1ac54a595..55f549dd2 100644 --- a/radio/src/targets/pa01/hal.h +++ b/radio/src/targets/pa01/hal.h @@ -296,8 +296,6 @@ #define QSPI_QE_BIT (1 << 6) // Storage -#define STORAGE_USE_SDIO - /* * SDIO pins: * - SDMMC1_D0-D3 (PC.08-11) @@ -305,7 +303,8 @@ * - SDMMC1_CMD (PD.02) */ #define SD_SDIO SDMMC1 -#define SD_SDIO_TRANSFER_CLK_DIV SDMMC_HSPEED_CLK_DIV +#define SD_SDIO_TRANSFER_CLK_DIV SDMMC_NSPEED_CLK_DIV // 25MHz +#define STORAGE_USE_SDIO // Audio #define AUDIO_MUTE_GPIO GPIO_PIN(GPIOE, 4) // PE.04