mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Protect non-CL_RACINGF4 targets from using PWM beeper
This commit is contained in:
parent
f4e4e45aa2
commit
df83cb3f38
1 changed files with 2 additions and 0 deletions
|
@ -41,7 +41,9 @@
|
|||
//#define LED1 PB4 // Remove this at the next major release
|
||||
#define BEEPER PB4
|
||||
#define BEEPER_INVERTED
|
||||
#if defined(CL_RACINGF4)
|
||||
#define BEEPER_PWM_HZ 3800 // Beeper PWM frequency in Hz
|
||||
#endif
|
||||
|
||||
#ifdef OMNIBUSF4SD
|
||||
#define INVERTER_PIN_UART6 PC8 // Omnibus F4 V3 and later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue