Fixed gyro CS pin count in CLI.

This commit is contained in:
mikeller 2018-12-19 01:34:27 +13:00
parent dd7a77e46c
commit cb1bb48587
1 changed files with 1 additions and 1 deletions

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