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

Fixed define dependency of gyro device parameter group, gyro EXTI CLI support.

This commit is contained in:
mikeller 2018-11-27 00:48:39 +13:00
parent 32068e3830
commit c927a65024
2 changed files with 2 additions and 2 deletions

View file

@ -73,8 +73,8 @@ void pgResetFn_gyroDeviceConfig(gyroDeviceConfig_t *devconf)
#ifdef USE_SPI_GYRO
gyroResetSpiDeviceConfig(&devconf[0], GYRO_1_SPI_INSTANCE, IO_TAG(GYRO_1_CS_PIN), IO_TAG(GYRO_1_EXTI_PIN), GYRO_1_ALIGN);
#ifdef USE_MULTI_GYRO
gyroResetSpiDeviceConfig(&devconf[1], GYRO_2_SPI_INSTANCE, IO_TAG(GYRO_2_CS_PIN), IO_TAG(GYRO_2_EXTI_PIN), GYRO_2_ALIGN);
devconf[1].index = 1;
gyroResetSpiDeviceConfig(&devconf[1], GYRO_2_SPI_INSTANCE, IO_TAG(GYRO_2_CS_PIN), IO_TAG(GYRO_2_EXTI_PIN), GYRO_2_ALIGN);
#endif
#endif