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:
parent
1c76469251
commit
cf219cd8a6
10 changed files with 28 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue