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

Merge pull request #7242 from mikeller/fix_gyro_cs_pin_count

Fixed gyro CS pin count in CLI.
This commit is contained in:
Michael Keller 2018-12-20 01:41:28 +13:00 committed by GitHub
commit dcf5652773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3945,7 +3945,7 @@ const cliResourceValue_t resourceTable[] = {
#ifdef USE_GYRO_EXTI
DEFW( OWNER_GYRO_EXTI, PG_GYRO_DEVICE_CONFIG, gyroDeviceConfig_t, extiTag, MAX_GYRODEV_COUNT ),
#endif
DEFW( OWNER_GYRO_CS, PG_GYRO_DEVICE_CONFIG, gyroDeviceConfig_t, csnTag, 2 ),
DEFW( OWNER_GYRO_CS, PG_GYRO_DEVICE_CONFIG, gyroDeviceConfig_t, csnTag, MAX_GYRODEV_COUNT ),
#ifdef USE_USB_DETECT
DEFS( OWNER_USB_DETECT, PG_USB_CONFIG, usbDev_t, detectPin ),
#endif