Move BEEPER_OPT out of target.h
This commit is contained in:
parent
9486789204
commit
3b0a32e5b5
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue