1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Add first unit test for some code in serial.c. Fix compiler warnings in

other tests.
This commit is contained in:
Dominic Clifton 2015-04-01 14:07:27 +01:00
parent 8a9d2e3708
commit b0b1eaf9c7
10 changed files with 164 additions and 61 deletions

View file

@ -27,12 +27,18 @@
#include "common/utils.h"
#include "drivers/system.h"
#include "drivers/gpio.h"
#include "drivers/timer.h"
#include "drivers/serial.h"
#if defined(USE_SOFTSERIAL1) || defined(USE_SOFTSERIAL2)
#include "drivers/serial_softserial.h"
#endif
#if defined(USE_USART1) || defined(USE_USART2) || defined(USE_USART3)
#include "drivers/serial_uart.h"
#endif
#if defined(USE_VCP)
#include "drivers/serial_usb_vcp.h"
#endif
#include "io/serial.h"
#include "serial_cli.h"