aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-18 16:57:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-18 16:57:21 +0000
commit1d0b686cebaff426e98f89f00d63762d8353e9f7 (patch)
tree56c86276cb4c2afd5ee83999acdb3cef211fd727 /os/hal
parent40cf0ca4af999a3ca964867ee81bfc6369e8b4ef (diff)
downloadChibiOS-1d0b686cebaff426e98f89f00d63762d8353e9f7.tar.gz
ChibiOS-1d0b686cebaff426e98f89f00d63762d8353e9f7.tar.bz2
ChibiOS-1d0b686cebaff426e98f89f00d63762d8353e9f7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4114 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.h b/os/hal/platforms/STM32/sdc_lld.h
index 3ada980db..cfa36fd25 100644
--- a/os/hal/platforms/STM32/sdc_lld.h
+++ b/os/hal/platforms/STM32/sdc_lld.h
@@ -152,9 +152,9 @@
#else
#define STM32_SDC_WRITE_TIMEOUT \
- (((STM32_HCLK /((STM32_SDIO_DIV_HS + 2)) / 1000) * SDC_WRITE_TIMEOUT_MS)
+ (((STM32_HCLK / (STM32_SDIO_DIV_HS + 2)) / 1000) * SDC_WRITE_TIMEOUT_MS)
#define STM32_SDC_READ_TIMEOUT \
- (((STM32_HCLK /((STM32_SDIO_DIV_HS + 2)) / 1000) * SDC_READ_TIMEOUT_MS)
+ (((STM32_HCLK / (STM32_SDIO_DIV_HS + 2)) / 1000) * SDC_READ_TIMEOUT_MS)
#endif
/*===========================================================================*/