aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/FSMCv1
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2014-10-31 02:51:00 +0300
committerbarthess <barthess@yandex.ru>2014-10-31 02:51:00 +0300
commit1f97428d5d6736c050d546a12837b19c48cfc99d (patch)
tree600bd931c7b5d8cf90a549991e13a1186a469643 /os/hal/ports/STM32/LLD/FSMCv1
parent1c50a03cfd17090f39004849c79e1e6ce8874e05 (diff)
downloadChibiOS-Contrib-1f97428d5d6736c050d546a12837b19c48cfc99d.tar.gz
ChibiOS-Contrib-1f97428d5d6736c050d546a12837b19c48cfc99d.tar.bz2
ChibiOS-Contrib-1f97428d5d6736c050d546a12837b19c48cfc99d.zip
FSMC. SDRAM. Fixed some typos
Diffstat (limited to 'os/hal/ports/STM32/LLD/FSMCv1')
-rw-r--r--os/hal/ports/STM32/LLD/FSMCv1/fsmc.c2
-rw-r--r--os/hal/ports/STM32/LLD/FSMCv1/fsmc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/fsmc.c b/os/hal/ports/STM32/LLD/FSMCv1/fsmc.c
index 6cadfb1..274bc62 100644
--- a/os/hal/ports/STM32/LLD/FSMCv1/fsmc.c
+++ b/os/hal/ports/STM32/LLD/FSMCv1/fsmc.c
@@ -106,7 +106,7 @@ void fsmc_init(void) {
#if (defined(STM32F427xx) || defined(STM32F437xx) || \
defined(STM32F429xx) || defined(STM32F439xx))
- #if STM32_SDRAM_USE_FSMC_SDRAM1
+ #if STM32_USE_FSMC_SDRAM
FSMCD1.sdram = (FSMC_SDRAM_TypeDef *)FSMC_Bank5_6_R_BASE;
#endif
#endif
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/fsmc.h b/os/hal/ports/STM32/LLD/FSMCv1/fsmc.h
index 4ca6e58..6ddd566 100644
--- a/os/hal/ports/STM32/LLD/FSMCv1/fsmc.h
+++ b/os/hal/ports/STM32/LLD/FSMCv1/fsmc.h
@@ -302,7 +302,7 @@ struct FSMCDriver {
#endif
#if (defined(STM32F427xx) || defined(STM32F437xx) || \
defined(STM32F429xx) || defined(STM32F439xx))
- #if (STM32_SDRAM_USE_FSMC_SDRAM1 || STM32_SDRAM_USE_FSMC_SDRAM1)
+ #if STM32_USE_FSMC_SDRAM
FSMC_SDRAM_TypeDef *sdram;
#endif
#endif