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:
parent
5442f8ea41
commit
001de4cdf3
10 changed files with 139 additions and 83 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue