1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

[F7][LIB] Moved ART Prefetch enabling from library to main code

Equivalent to 397db37 (#5729)
This commit is contained in:
jflyper 2019-07-30 02:10:52 +09:00
parent 94b1f8ce9c
commit d99c53c86f

View file

@ -142,11 +142,6 @@ HAL_StatusTypeDef HAL_Init(void)
__HAL_FLASH_ART_ENABLE();
#endif /* ART_ACCLERATOR_ENABLE */
/* Configure Flash prefetch */
#if (PREFETCH_ENABLE != 0U)
__HAL_FLASH_PREFETCH_BUFFER_ENABLE();
#endif /* PREFETCH_ENABLE */
/* Set Interrupt Group Priority */
HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);