mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Merge pull request #3144 from jflyper/bfdev-fix-non-stop-beeping-on-omnibusf4
[OMNIBUSF4/OMNIBUSF4SD] Protect non-CL_RACINGF4 targets from using PWM beeper
This commit is contained in:
commit
4cc5b9bb69
1 changed files with 2 additions and 0 deletions
|
@ -41,7 +41,9 @@
|
||||||
//#define LED1 PB4 // Remove this at the next major release
|
//#define LED1 PB4 // Remove this at the next major release
|
||||||
#define BEEPER PB4
|
#define BEEPER PB4
|
||||||
#define BEEPER_INVERTED
|
#define BEEPER_INVERTED
|
||||||
|
#if defined(CL_RACINGF4)
|
||||||
#define BEEPER_PWM_HZ 3800 // Beeper PWM frequency in Hz
|
#define BEEPER_PWM_HZ 3800 // Beeper PWM frequency in Hz
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef OMNIBUSF4SD
|
#ifdef OMNIBUSF4SD
|
||||||
#define INVERTER_PIN_UART6 PC8 // Omnibus F4 V3 and later
|
#define INVERTER_PIN_UART6 PC8 // Omnibus F4 V3 and later
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue