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

Merge pull request #5285 from jflyper/bfdev-convert-beeper-to-USE_-scheme

BEEPER Conversion to use USE_ scheme
This commit is contained in:
jflyper 2018-03-03 23:22:56 +09:00 committed by GitHub
commit bf11921dc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
104 changed files with 217 additions and 131 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)