[HAL, STM32F4xx, FSMC] Fixed build error caused by inproper handling of STM32_FSMC_IS_FMC flag.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8747 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3cb82507c2
commit
3c1abde167
|
@ -1562,7 +1562,7 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#if defined(STM32_FSMC_IS_FMC)
|
||||
#if STM32_FSMC_IS_FMC
|
||||
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FMCEN, lp)
|
||||
#else
|
||||
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FSMCEN, lp)
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#if defined(STM32_FSMC_IS_FMC)
|
||||
#if STM32_FSMC_IS_FMC
|
||||
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FMCEN, lp)
|
||||
#else
|
||||
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FSMCEN, lp)
|
||||
|
@ -1586,7 +1586,7 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#if defined(STM32_FSMC_IS_FMC)
|
||||
#if STM32_FSMC_IS_FMC
|
||||
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
|
||||
#else
|
||||
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FSMCRST)
|
||||
|
|
Loading…
Reference in New Issue