From e12273b43ba48cdd3d09b574642ffe87e22a3479 Mon Sep 17 00:00:00 2001 From: Matteo Pignataro <matteo.pignataro@skywarder.eu> Date: Wed, 13 Sep 2023 17:34:34 +0200 Subject: [PATCH] [SD] Incremented number of SD speed reduction --- miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp b/miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp index 84de9253..33666f61 100644 --- a/miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp +++ b/miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp @@ -801,7 +801,7 @@ private: #endif //SD_ONE_BIT_DATABUS ///\internal Maximum number of calls to IRQreduceClockSpeed() allowed - static const unsigned char MAX_ALLOWED_REDUCTIONS=1; + static const unsigned char MAX_ALLOWED_REDUCTIONS=5; ///\internal value returned by getRetryCount() while *not* calibrating clock. static const unsigned char MAX_RETRY=10; -- GitLab