Merged in no1wudi/nuttx (pull request #291)

fix compile error when disabled the flash data cache corruption for stm32 f1xx

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
no1wudi 2017-03-24 00:58:26 +00:00 committed by Gregory Nutt
commit 4c6680df99

View File

@ -144,7 +144,7 @@ static void data_cache_enable(void)
modifyreg32(STM32_FLASH_ACR, 0, FLASH_ACR_DCEN); modifyreg32(STM32_FLASH_ACR, 0, FLASH_ACR_DCEN);
} }
#endif #endif /* defined(CONFIG_STM32_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW) */
/************************************************************************************ /************************************************************************************
* Public Functions * Public Functions