diff options
Diffstat (limited to 'controller/fw/src/system_stm32f4xx.c')
-rw-r--r-- | controller/fw/src/system_stm32f4xx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/controller/fw/src/system_stm32f4xx.c b/controller/fw/src/system_stm32f4xx.c index 9037604..5d005ed 100644 --- a/controller/fw/src/system_stm32f4xx.c +++ b/controller/fw/src/system_stm32f4xx.c @@ -165,10 +165,9 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4}; */ void SystemInit(void) { - /* FPU settings ------------------------------------------------------------*/ - #if (__FPU_PRESENT == 1) && (__FPU_USED == 1) SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */ - #endif + __DSB(); + __ISB(); #if defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM) SystemInit_ExtMemCtl(); |