1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +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

@ -5,10 +5,7 @@
#include "accgyro_common.h"
#include "board.h"
#define ADC_BATTERY 0
#define ADC_CURRENT 1
#include "adc_common.h"
// static volatile uint16_t adc1Ch4Value = 0;
static volatile uint16_t adcValues[2];