mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Update timer drivers so they do not include "board.h". It is now
clear what all timer drivers need to compile and what was unnecessarily included before.
This commit is contained in:
parent
45ce1862cd
commit
3ef05c0eb9
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,13 @@
|
||||||
#include "board.h"
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "platform.h"
|
||||||
|
|
||||||
|
#include "gpio_common.h"
|
||||||
|
#include "system_common.h"
|
||||||
|
|
||||||
|
#include "timer_common.h"
|
||||||
|
|
||||||
/* FreeFlight/Naze32 timer layout
|
/* FreeFlight/Naze32 timer layout
|
||||||
TIM2_CH1 RC1 PWM1
|
TIM2_CH1 RC1 PWM1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue