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

Fix Selectable Buzzer Pin for CC3D -Cleanup

This commit is contained in:
henn1001 2015-12-30 23:48:56 +01:00
parent 1406af8f3f
commit d6c812f4fe
4 changed files with 5 additions and 20 deletions

View file

@ -306,11 +306,9 @@ void init(void)
#ifdef CC3D
if (masterConfig.use_buzzer_p6 == 1)
beeperConfig.gpioPin = Pin_2;
beeperInit(&beeperConfig, masterConfig.use_buzzer_p6);
#else
beeperInit(&beeperConfig);
#endif
beeperInit(&beeperConfig);
#endif
#ifdef INVERTER