From fd76a3db05d18989f1c49fb539b62ef3e22d8ae7 Mon Sep 17 00:00:00 2001 From: no1wudi <757509347@qq.com> Date: Fri, 24 Mar 2017 08:52:46 +0800 Subject: [PATCH] fix spacing --- arch/arm/src/stm32/stm32_flash.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/src/stm32/stm32_flash.c b/arch/arm/src/stm32/stm32_flash.c index 0267d58eb2..85a3fb1804 100644 --- a/arch/arm/src/stm32/stm32_flash.c +++ b/arch/arm/src/stm32/stm32_flash.c @@ -127,7 +127,6 @@ static void flash_lock(void) { modifyreg32(STM32_FLASH_CR, 0, FLASH_CR_LOCK); } -#if defined(CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW) #if defined(CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW) static void data_cache_disable(void) @@ -145,9 +144,8 @@ static void data_cache_enable(void) modifyreg32(STM32_FLASH_ACR, 0, FLASH_ACR_DCEN); } -#endif +#endif /* defined(CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW) */ -#endif /************************************************************************************ * Public Functions ************************************************************************************/