From ac533961c353cbb44f366813710bfcf9efb222ae Mon Sep 17 00:00:00 2001 From: Gaogao <91398548+vangao-gg@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:45:06 +0800 Subject: [PATCH] [opt][SDIO_MAX_FREQ redundant define del] --- bsp/apm32/libraries/Drivers/drv_sdio.h | 4 ---- bsp/at32/libraries/rt_drivers/drv_sdio.h | 4 ---- bsp/bluetrum/libraries/hal_drivers/drv_sdio.h | 4 ---- bsp/stm32/libraries/HAL_Drivers/drivers/drv_sdio.h | 4 ---- 4 files changed, 16 deletions(-) diff --git a/bsp/apm32/libraries/Drivers/drv_sdio.h b/bsp/apm32/libraries/Drivers/drv_sdio.h index ee1d0438c96..4784dffd5a1 100644 --- a/bsp/apm32/libraries/Drivers/drv_sdio.h +++ b/bsp/apm32/libraries/Drivers/drv_sdio.h @@ -27,10 +27,6 @@ #define SDIO_BUFF_SIZE 4096 #define SDIO_ALIGN_LEN 32 -#ifndef SDIO_MAX_FREQ -#define SDIO_MAX_FREQ (1000000) -#endif - #ifndef SDIO_BASE_ADDRESS #define SDIO_BASE_ADDRESS (0x40012800U) #endif diff --git a/bsp/at32/libraries/rt_drivers/drv_sdio.h b/bsp/at32/libraries/rt_drivers/drv_sdio.h index 9a2b7d1c30a..bfcd76bd487 100644 --- a/bsp/at32/libraries/rt_drivers/drv_sdio.h +++ b/bsp/at32/libraries/rt_drivers/drv_sdio.h @@ -25,10 +25,6 @@ #define SDIO_BUFF_SIZE 4096 #define SDIO_ALIGN_LEN 32 -#ifndef SDIO_MAX_FREQ -#define SDIO_MAX_FREQ (1000000) -#endif - #ifndef SDIO_BASE_ADDRESS #define SDIO_BASE_ADDRESS SDIO1_BASE #endif diff --git a/bsp/bluetrum/libraries/hal_drivers/drv_sdio.h b/bsp/bluetrum/libraries/hal_drivers/drv_sdio.h index 76818293062..31a43a33aca 100644 --- a/bsp/bluetrum/libraries/hal_drivers/drv_sdio.h +++ b/bsp/bluetrum/libraries/hal_drivers/drv_sdio.h @@ -19,10 +19,6 @@ #define SDIO_BUFF_SIZE 1024 #define SDIO_ALIGN_LEN 32 -#ifndef SDIO_MAX_FREQ -#define SDIO_MAX_FREQ (1000000) -#endif - #ifndef SDIO_BASE_ADDRESS #define SDIO_BASE_ADDRESS (0x40012800U) #endif diff --git a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_sdio.h b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_sdio.h index ebd0ff8ca20..2da9026b969 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_sdio.h +++ b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_sdio.h @@ -35,10 +35,6 @@ #define SDIO_BUFF_SIZE 4096 #define SDIO_ALIGN_LEN 32 -#ifndef SDIO_MAX_FREQ -#define SDIO_MAX_FREQ (1000000) -#endif - #ifndef SDIO_BASE_ADDRESS #define SDIO_BASE_ADDRESS (0x40012800U) #endif