1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

STM32F3DISCOVERY - Updating L3GD20 alignment defaults. (MJ666)

This commit is contained in:
Dominic Clifton 2015-01-22 19:39:36 +01:00
parent 9eff8f1932
commit e58f2948f3
3 changed files with 5 additions and 2 deletions

View file

@ -173,8 +173,8 @@ bool detectGyro(uint16_t gyroLpf)
#ifdef USE_GYRO_L3GD20
if (l3gd20Detect(&gyro, gyroLpf)) {
#ifdef GYRO_GYRO_L3GD20_ALIGN
gyroAlign = GYRO_GYRO_L3GD20_ALIGN;
#ifdef GYRO_L3GD20_ALIGN
gyroAlign = GYRO_L3GD20_ALIGN;
#endif
return true;
}