1
0
Fork 0
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:
Michael Keller 2018-11-26 21:51:49 +13:00 committed by GitHub
commit 06d931e245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View file

@ -40,6 +40,9 @@
#include "hardware_revision.h" #include "hardware_revision.h"
// BEEPER_OPT will be handled by post-flash configuration
#define BEEPER_OPT PB7
// alternative defaults settings for BlueJayF4 targets // alternative defaults settings for BlueJayF4 targets
void targetConfiguration(void) void targetConfiguration(void)
{ {

View file

@ -37,7 +37,6 @@
#define USE_BEEPER #define USE_BEEPER
#define BEEPER_PIN PC1 #define BEEPER_PIN PC1
#define BEEPER_OPT PB7
#define BEEPER_INVERTED #define BEEPER_INVERTED
#define INVERTER_PIN_UART6 PB15 #define INVERTER_PIN_UART6 PB15

View file

@ -28,7 +28,6 @@
#define USE_BEEPER #define USE_BEEPER
#define BEEPER_PIN PA15 #define BEEPER_PIN PA15
#define BEEPER_OPT PA2
#define USE_EXTI #define USE_EXTI
#define USE_GYRO_EXTI #define USE_GYRO_EXTI

View file

@ -35,7 +35,8 @@
#include "hardware_revision.h" #include "hardware_revision.h"
// BEEPER_OPT will be handled by post-flash configuration
#define BEEPER_OPT PB14
// alternative defaults settings for YuPiF4 targets // alternative defaults settings for YuPiF4 targets
void targetConfiguration(void) void targetConfiguration(void)

View file

@ -32,7 +32,6 @@
#define USE_BEEPER #define USE_BEEPER
#define BEEPER_PIN PC9 #define BEEPER_PIN PC9
#define BEEPER_OPT PB14
#define BEEPER_PWM_HZ 3150 // Beeper PWM frequency in Hz #define BEEPER_PWM_HZ 3150 // Beeper PWM frequency in Hz
// Gyro interrupt // Gyro interrupt