mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Merge pull request #7125 from jflyper/bfdev-move-BEEPER_OPT-out-of-target.h
[BLUEJAYF4,YUPIF4] Move BEEPER_OPT out of target.h
This commit is contained in:
commit
06d931e245
5 changed files with 5 additions and 4 deletions
|
@ -40,6 +40,9 @@
|
|||
|
||||
#include "hardware_revision.h"
|
||||
|
||||
// BEEPER_OPT will be handled by post-flash configuration
|
||||
#define BEEPER_OPT PB7
|
||||
|
||||
// alternative defaults settings for BlueJayF4 targets
|
||||
void targetConfiguration(void)
|
||||
{
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PC1
|
||||
#define BEEPER_OPT PB7
|
||||
#define BEEPER_INVERTED
|
||||
|
||||
#define INVERTER_PIN_UART6 PB15
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PA15
|
||||
#define BEEPER_OPT PA2
|
||||
|
||||
#define USE_EXTI
|
||||
#define USE_GYRO_EXTI
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
|
||||
#include "hardware_revision.h"
|
||||
|
||||
|
||||
// BEEPER_OPT will be handled by post-flash configuration
|
||||
#define BEEPER_OPT PB14
|
||||
|
||||
// alternative defaults settings for YuPiF4 targets
|
||||
void targetConfiguration(void)
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PC9
|
||||
#define BEEPER_OPT PB14
|
||||
#define BEEPER_PWM_HZ 3150 // Beeper PWM frequency in Hz
|
||||
|
||||
// Gyro interrupt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue