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

Fix Selectable Buzzer Pin for CC3D

This commit is contained in:
borisbstyle 2015-12-30 23:19:30 +01:00
parent 4135c1b9c2
commit dfcc3eb028
4 changed files with 27 additions and 10 deletions

View file

@ -30,11 +30,7 @@
//#define BEEPER_PIN6 // Uncomment this line for hexacopter configurations where PIN6 is needed for motor
#define BEEP_GPIO GPIOA
#ifdef BEEPER_PIN6
#define BEEP_PIN Pin_2 // PA2 (Beeper)
#else
#define BEEP_PIN Pin_15 // PA15 (Beeper)
#endif
#define BEEP_PERIPHERAL RCC_APB2Periph_GPIOA
#define MPU6000_CS_GPIO GPIOA