fix(horus): detection for Flysky Hall Gimbals not working (#6158)
This commit is contained in:
@@ -195,12 +195,14 @@ void boardInit()
|
||||
switchInit();
|
||||
rotaryEncoderInit();
|
||||
|
||||
#if defined(PWM_STICKS)
|
||||
sticksPwmDetect();
|
||||
#endif
|
||||
|
||||
#if defined(FLYSKY_GIMBAL)
|
||||
#if defined(FLYSKY_GIMBAL) && defined(PWM_STICKS)
|
||||
if (!flysky_gimbal_init()) {
|
||||
sticksPwmDetect();
|
||||
}
|
||||
#elif defined(FLYSKY_GIMBAL)
|
||||
flysky_gimbal_init();
|
||||
#elif defined(PWM_STICKS)
|
||||
sticksPwmDetect();
|
||||
#endif
|
||||
|
||||
if (!adcInit(&_adc_driver))
|
||||
|
||||
Reference in New Issue
Block a user