mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Remove FY90Q support.
Conflicts: Makefile src/board.h src/drivers/adc_fy90q.c src/drivers/pwm_fy90q.c src/drv_adc.h src/sensors.c src/startup/startup_stm32f10x_md_fy90q.s
This commit is contained in:
parent
0e80dbf025
commit
a3476cf59c
11 changed files with 7 additions and 2293 deletions
|
@ -7,9 +7,6 @@
|
|||
|
||||
#include "drivers/accgyro_common.h"
|
||||
|
||||
#ifdef FY90Q
|
||||
#include "drivers/accgyro_fy90q.h"
|
||||
#else
|
||||
#include "drivers/accgyro_adxl345.h"
|
||||
#include "drivers/accgyro_bma280.h"
|
||||
#include "drivers/accgyro_l3g4200d.h"
|
||||
|
@ -20,7 +17,6 @@
|
|||
#include "drivers/accgyro_l3gd20.h"
|
||||
#include "drivers/accgyro_lsm303dlhc.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "drivers/barometer_common.h"
|
||||
#include "drivers/barometer_bmp085.h"
|
||||
|
@ -112,17 +108,6 @@ bool fakeAccDetect(acc_t *acc)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef FY90Q
|
||||
// FY90Q analog gyro/acc
|
||||
bool sensorsAutodetect(sensorAlignmentConfig_t *sensorAlignmentConfig, uint16_t gyroLpf, uint8_t accHardwareToUse, int16_t magDeclinationFromConfig)
|
||||
{
|
||||
memset(&acc, sizeof(acc), 0);
|
||||
memset(&gyro, sizeof(gyro), 0);
|
||||
adcSensorInit(&acc, &gyro);
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
|
||||
bool detectGyro(uint16_t gyroLpf)
|
||||
{
|
||||
gyroAlign = ALIGN_DEFAULT;
|
||||
|
@ -328,5 +313,4 @@ bool sensorsAutodetect(sensorAlignmentConfig_t *sensorAlignmentConfig, uint16_t
|
|||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue