1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Add and handle USE_TIMER

This commit is contained in:
jflyper 2019-05-05 19:42:30 +09:00
parent 1c76469251
commit cf219cd8a6
10 changed files with 28 additions and 0 deletions

View file

@ -20,6 +20,8 @@
#include "platform.h"
#ifdef USE_TIMER
#include "common/utils.h"
#include "drivers/dma.h"
@ -220,3 +222,4 @@ uint32_t timerClock(TIM_TypeDef *tim)
#error "No timer clock defined correctly for MCU"
#endif
}
#endif