mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Converted camera control pin definition to timer flag.
This commit is contained in:
parent
eefd3e62a2
commit
430379016e
33 changed files with 123 additions and 170 deletions
|
@ -63,15 +63,16 @@ typedef uint32_t timCNT_t;
|
|||
#endif
|
||||
|
||||
typedef enum {
|
||||
TIM_USE_ANY = 0x0,
|
||||
TIM_USE_NONE = 0x0,
|
||||
TIM_USE_PPM = 0x1,
|
||||
TIM_USE_PWM = 0x2,
|
||||
TIM_USE_MOTOR = 0x4,
|
||||
TIM_USE_SERVO = 0x8,
|
||||
TIM_USE_LED = 0x10,
|
||||
TIM_USE_TRANSPONDER = 0x20,
|
||||
TIM_USE_BEEPER = 0x40
|
||||
TIM_USE_ANY = 0x0,
|
||||
TIM_USE_NONE = 0x0,
|
||||
TIM_USE_PPM = 0x1,
|
||||
TIM_USE_PWM = 0x2,
|
||||
TIM_USE_MOTOR = 0x4,
|
||||
TIM_USE_SERVO = 0x8,
|
||||
TIM_USE_LED = 0x10,
|
||||
TIM_USE_TRANSPONDER = 0x20,
|
||||
TIM_USE_BEEPER = 0x40,
|
||||
TIM_USE_CAMERA_CONTROL = 0x40,
|
||||
} timerUsageFlag_e;
|
||||
|
||||
// use different types from capture and overflow - multiple overflow handlers are implemented as linked list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue