mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Update serial drivers so they do not include "board.h". It is now clear
what all serial drivers need to compile and what was unnecessarily included before.
This commit is contained in:
parent
86e4e1c98f
commit
1e9186d3a1
3 changed files with 32 additions and 3 deletions
|
@ -1,4 +1,15 @@
|
|||
#include "board.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "system_common.h"
|
||||
#include "gpio_common.h"
|
||||
#include "timer_common.h"
|
||||
|
||||
#include "serial_common.h"
|
||||
#include "serial_softserial.h"
|
||||
|
||||
#define SOFT_SERIAL_TIMER_MHZ 3
|
||||
#define SOFT_SERIAL_1_TIMER_RX_HARDWARE 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue