1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Convert BEEPER to USE_ scheme (#5433)

This commit is contained in:
jflyper 2018-03-11 05:28:08 +09:00 committed by Michael Keller
parent aa42a69d2f
commit 416495e17a
105 changed files with 219 additions and 132 deletions

View file

@ -40,7 +40,7 @@ loadDmaBufferFn *loadDmaBuffer;
static pwmOutputPort_t servos[MAX_SUPPORTED_SERVOS];
#endif
#ifdef BEEPER
#ifdef USE_BEEPER
static pwmOutputPort_t beeperPwm;
static uint16_t freqBeep = 0;
#endif
@ -464,7 +464,7 @@ void servoDevInit(const servoDevConfig_t *servoConfig)
#endif
#ifdef BEEPER
#ifdef USE_BEEPER
void pwmWriteBeeper(bool onoffBeep)
{
if (!beeperPwm.io)