mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Beeper PWM support
Beeper PWM frequency set limited to positive values Removal of all the defined(BEEPER_PWM) tabs and spaces cleanup in beeper functions Add IOGetByTag and timerGetByTag check to Beeper Pwm Init Add IO check before every Beeper Pwm functions in pwm_output Update pwm_output.c after comments from Mikeller
This commit is contained in:
parent
3408d9d613
commit
458cf6601d
11 changed files with 98 additions and 23 deletions
|
@ -62,7 +62,8 @@ typedef enum {
|
|||
TIM_USE_MOTOR = 0x4,
|
||||
TIM_USE_SERVO = 0x8,
|
||||
TIM_USE_LED = 0x10,
|
||||
TIM_USE_TRANSPONDER = 0x20
|
||||
TIM_USE_TRANSPONDER = 0x20,
|
||||
TIM_USE_BEEPER = 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