We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44bbe86 commit 8369a2eCopy full SHA for 8369a2e
1 file changed
radio/src/targets/horus/board.cpp
@@ -195,12 +195,14 @@ void boardInit()
195
switchInit();
196
rotaryEncoderInit();
197
198
-#if defined(PWM_STICKS)
199
- sticksPwmDetect();
200
-#endif
201
-
202
-#if defined(FLYSKY_GIMBAL)
+#if defined(FLYSKY_GIMBAL) && defined(PWM_STICKS)
+ if (!flysky_gimbal_init()) {
+ sticksPwmDetect();
+ }
+#elif defined(FLYSKY_GIMBAL)
203
flysky_gimbal_init();
204
+#elif defined(PWM_STICKS)
205
206
#endif
207
208
if (!adcInit(&_adc_driver))
0 commit comments