1
0
Fork 0
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:
jflyper 2017-05-25 02:33:06 +09:00
parent f4e4e45aa2
commit df83cb3f38

View file

@ -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