diff --git a/src/main/drivers/timer.h b/src/main/drivers/timer.h index 8a35448869..bc80fcea9a 100644 --- a/src/main/drivers/timer.h +++ b/src/main/drivers/timer.h @@ -72,7 +72,7 @@ typedef enum { TIM_USE_LED = 0x10, TIM_USE_TRANSPONDER = 0x20, TIM_USE_BEEPER = 0x40, - TIM_USE_CAMERA_CONTROL = 0x40, + TIM_USE_CAMERA_CONTROL = 0x80, } timerUsageFlag_e; // use different types from capture and overflow - multiple overflow handlers are implemented as linked list diff --git a/src/main/target/FF_FORTINIF4/target.c b/src/main/target/FF_FORTINIF4/target.c index 3196639734..97ff2d25b9 100644 --- a/src/main/target/FF_FORTINIF4/target.c +++ b/src/main/target/FF_FORTINIF4/target.c @@ -39,8 +39,8 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { #endif DEF_TIM(TIM4, CH4, PB9, TIM_USE_PPM, 0, 0 ), // PPM IN #if defined(FF_FORTINIF4_REV03) - DEF_TIM(TIM4, CH2, PB7, TIM_USE_CAM, 0, 0 ), // FC CAM - DMA1_ST3 - DEF_TIM(TIM4, CH1, PB6, TIM_USE_LED, 0, 0 ), // LED - DMA1_ST0 + DEF_TIM(TIM4, CH2, PB7, TIM_USE_CAMERA_CONTROL, 0, 0 ), // FC CAM - DMA1_ST3 + DEF_TIM(TIM4, CH1, PB6, TIM_USE_LED, 0, 0 ), // LED - DMA1_ST0 #else DEF_TIM(TIM4, CH2, PB7, TIM_USE_LED | TIM_USE_CAMERA_CONTROL, 0, 0 ), // LED - DMA1_ST3 #endif