1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Convert to USE_ scheme

This commit is contained in:
jflyper 2018-02-23 08:43:58 +09:00
parent 177472b4fc
commit ea0db878bf
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
@ -460,7 +460,7 @@ void servoDevInit(const servoDevConfig_t *servoConfig)
#endif
#ifdef BEEPER
#ifdef USE_BEEPER
void pwmWriteBeeper(bool onoffBeep)
{
if (!beeperPwm.io)