1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Post-cleanup of F7 optimizations (#5729)

* Moved ART Prefetch enabling from library to main code

* Fixed tabs to spaces

* Added F7 LL EX header to simplify work with DMA and TIM

* Refactored F7 DSHOT using LL EX

* Got rid of overlooked duplicate lines
This commit is contained in:
Andrey Mironov 2018-04-21 09:14:35 +03:00 committed by Michael Keller
parent a51bea1ebc
commit ff4c2bc145
6 changed files with 136 additions and 73 deletions

View file

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