From 8a84310d9db0ccdfafe6e83babb2a264634dec5c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 17 Sep 2015 12:23:10 +0000 Subject: Fixed bug #643. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8303 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c | 4 ++-- os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.h | 2 +- readme.txt | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c b/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c index f4d23e6d2..cdc4934e9 100644 --- a/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c +++ b/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.c @@ -15,7 +15,7 @@ */ /** - * @file STM32/sdc_lld.c + * @file STM32/SDIOv1/sdc_lld.c * @brief STM32 SDC subsystem low level driver source. * * @addtogroup SDC @@ -436,7 +436,7 @@ void sdc_lld_start_clk(SDCDriver *sdcp) { sdcp->sdio->CLKCR |= SDIO_CLKCR_CLKEN; /* Clock activation delay.*/ - osalThreadSleep(MS2ST(STM32_SDC_CLOCK_ACTIVATION_DELAY)); + osalThreadSleep(OSAL_MS2ST(STM32_SDC_CLOCK_ACTIVATION_DELAY)); } /** diff --git a/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.h b/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.h index ae258e5f1..969f2619d 100644 --- a/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.h +++ b/os/hal/ports/STM32/LLD/SDIOv1/sdc_lld.h @@ -15,7 +15,7 @@ */ /** - * @file STM32/sdc_lld.h + * @file STM32/SDIOv1/sdc_lld.h * @brief STM32 SDC subsystem low level driver header. * * @addtogroup SDC diff --git a/readme.txt b/readme.txt index f9413199f..fda90e024 100644 --- a/readme.txt +++ b/readme.txt @@ -114,6 +114,8 @@ - HAL: Introduced support for TIM21 and TIM22 in STM32 ST driver. - HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support for STM32F030xC, STM32F070x6, STM32F070xB devices. +- HAL: Fixed RT dependency in STM32 SDCv1 driver (bug #643)(backported + to 3.0.2). - VAR: Fixed incorrect working area size in LwIP creation in demos (bug #642) (backported to 3.0.2 and 2.6.10). - HAL: Fixed error in hal_lld_f100.h checks (bug #641)(backported to 3.0.2 -- cgit v1.2.3