mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
AlienFlight fixes
AK8963 driver updates Increase resolution for brushed motors from 250 to 750 steps (@32Khz pwm rate)
This commit is contained in:
parent
00f179397e
commit
070ea81816
10 changed files with 101 additions and 151 deletions
|
@ -216,7 +216,7 @@ bool detectGyro(void)
|
|||
; // fallthrough
|
||||
|
||||
case GYRO_MPU6500:
|
||||
#ifdef USE_GYRO_MPU6500
|
||||
#if defined(USE_GYRO_MPU6500) || defined(USE_GYRO_SPI_MPU6500)
|
||||
#ifdef USE_GYRO_SPI_MPU6500
|
||||
if (mpu6500GyroDetect(&gyro) || mpu6500SpiGyroDetect(&gyro))
|
||||
#else
|
||||
|
@ -361,7 +361,7 @@ retry:
|
|||
#endif
|
||||
; // fallthrough
|
||||
case ACC_MPU6500:
|
||||
#ifdef USE_ACC_MPU6500
|
||||
#if defined(USE_ACC_MPU6500) || defined(USE_ACC_SPI_MPU6500)
|
||||
#ifdef USE_ACC_SPI_MPU6500
|
||||
if (mpu6500AccDetect(&acc) || mpu6500SpiAccDetect(&acc))
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue