summaryrefslogtreecommitdiff
path: root/nuttx/configs/mikroe-stm32f4
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-06-06 17:42:19 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-06-06 17:42:19 +0200
commite4903c7d94661c3433ebe0b7ee244f13c3dae549 (patch)
treef400f5514916fa75df1a79836fedec22bde6ad9a /nuttx/configs/mikroe-stm32f4
parent3dfc0b6d951ffce1657167e56feb5609dd3ef167 (diff)
parent303cf6c26e2f96c1909ca977b8ce86b0b761b444 (diff)
downloadpx4-nuttx-e4903c7d94661c3433ebe0b7ee244f13c3dae549.tar.gz
px4-nuttx-e4903c7d94661c3433ebe0b7ee244f13c3dae549.tar.bz2
px4-nuttx-e4903c7d94661c3433ebe0b7ee244f13c3dae549.zip
Merge branch 'upstream' into hardware_flow_control
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4')
-rw-r--r--nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c b/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c
index 9618cf8dd..3c55bd950 100644
--- a/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c
+++ b/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c
@@ -128,7 +128,7 @@ void stm32_board_clockconfig(void)
/* Enable FLASH prefetch, instruction cache, data cache, and 5 wait states */
-#ifdef STM32_FLASH_PREFETCH
+#ifdef CONFIG_STM32_FLASH_PREFETCH
regval = (FLASH_ACR_LATENCY_5 | FLASH_ACR_ICEN | FLASH_ACR_DCEN | FLASH_ACR_PRFTEN);
#else
regval = (FLASH_ACR_LATENCY_5 | FLASH_ACR_ICEN | FLASH_ACR_DCEN);