Move BEEPER_OPT out of target.h

This commit is contained in:
jflyper 2018-11-25 10:28:13 +09:00
parent 9486789204
commit 3b0a32e5b5
5 changed files with 5 additions and 4 deletions

View File

@ -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)
{

View File

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

View File

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

View File

@ -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)

View File

@ -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