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 "stm32f30x.h"
@ -44,3 +46,4 @@ uint32_t timerClock(TIM_TypeDef *tim)
UNUSED(tim);
return SystemCoreClock;
}
#endif