1
0
Fork 0
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:
Bruce Luckcuck 2019-02-22 16:54:41 -05:00
parent e053965489
commit 09b5adece4

View file

@ -267,3 +267,8 @@
#undef USE_GPS_RESCUE
#undef USE_ACRO_TRAINER
#endif
#ifndef USE_BEEPER
#undef BEEPER_PIN
#undef BEEPER_PWM_HZ
#endif