mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fix compile warnings when USE_BEEPER is not defined
If USE_BEEPER is undefined but the BEEPER_PIN or BEEPER_PWM_HZ are defined then there was a compile warning becasue they get redefined in beeper.c.
This commit is contained in:
parent
e053965489
commit
09b5adece4
1 changed files with 5 additions and 0 deletions
|
@ -267,3 +267,8 @@
|
|||
#undef USE_GPS_RESCUE
|
||||
#undef USE_ACRO_TRAINER
|
||||
#endif
|
||||
|
||||
#ifndef USE_BEEPER
|
||||
#undef BEEPER_PIN
|
||||
#undef BEEPER_PWM_HZ
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue