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
|
@ -1,4 +1,10 @@
|
|||
#include "board.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "serial_common.h"
|
||||
|
||||
void serialPrint(serialPort_t *instance, const char *str)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
#include "board.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
#include "system_common.h"
|
||||
#include "gpio_common.h"
|
||||
|
||||
#include "serial_common.h"
|
||||
#include "serial_uart.h"
|
||||
|
||||
/*
|
||||
DMA UART routines idea lifted from AutoQuad
|
||||
Copyright © 2011 Bill Nesbitt
|
||||
|
|
Loading…
Reference in New Issue