mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Revert "BEEPER Conversion to use USE_ scheme" (#5368)
This commit is contained in:
parent
bf11921dc0
commit
9bcc6aca8e
104 changed files with 131 additions and 217 deletions
|
@ -40,7 +40,7 @@ loadDmaBufferFn *loadDmaBuffer;
|
|||
static pwmOutputPort_t servos[MAX_SUPPORTED_SERVOS];
|
||||
#endif
|
||||
|
||||
#ifdef USE_BEEPER
|
||||
#ifdef BEEPER
|
||||
static pwmOutputPort_t beeperPwm;
|
||||
static uint16_t freqBeep = 0;
|
||||
#endif
|
||||
|
@ -464,7 +464,7 @@ void servoDevInit(const servoDevConfig_t *servoConfig)
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef USE_BEEPER
|
||||
#ifdef BEEPER
|
||||
void pwmWriteBeeper(bool onoffBeep)
|
||||
{
|
||||
if (!beeperPwm.io)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue