1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Move FY90q acc/gyro code to accgyro_fy90q.c. Update ADC drivers so they

do not include "board.h". It is now clear what all ADC drivers need to
compile and what was unnecessarily included before.

Note: FY90Q make target now compiles successfully, it was broken for
various reasons before.
This commit is contained in:
Dominic Clifton 2014-04-16 18:19:56 +01:00
parent 5442f8ea41
commit 001de4cdf3
10 changed files with 139 additions and 83 deletions

View file

@ -233,10 +233,14 @@ typedef struct baro_t
#ifdef FY90Q
// FY90Q
#include "drivers/adc/drv_adc.h"
#include "drv_i2c.h"
#include "drv_pwm.h"
#include "drivers/serial/drv_uart.h"
#include "drivers/adc_common.h"
#include "drivers/adc_fy90q.h"
#include "drivers/bus_i2c.h"
#include "drivers/bus_spi.h"
#include "drivers/pwm_common.h"
#include "drivers/timer_common.h"
#include "drivers/serial_common.h"
#include "drivers/serial_uart.h"
#else
#ifdef OLIMEXINO