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:
parent
4135c1b9c2
commit
dfcc3eb028
4 changed files with 27 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue