Fixed camera pin flag.
This commit is contained in:
parent
430379016e
commit
cf367eae2c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue