mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #1188 from AndersHoglund/fix_airbotf4_beeper
REVO. Added support for Beeper on PB4. Used by AirbotF4 and Flip32F4.
This commit is contained in:
commit
3178d71e7c
2 changed files with 6 additions and 2 deletions
|
@ -27,8 +27,12 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LED0 PB5
|
#define LED0 PB5
|
||||||
#define LED1 PB4
|
// Disable LED1, conflicts with AirbotF4/Flip32F4 beeper
|
||||||
|
//#define LED1 PB4
|
||||||
|
|
||||||
#define BEEPER PB4
|
#define BEEPER PB4
|
||||||
|
#define BEEPER_INVERTED
|
||||||
|
|
||||||
#define INVERTER PC0 // PC0 used as inverter select GPIO
|
#define INVERTER PC0 // PC0 used as inverter select GPIO
|
||||||
#define INVERTER_USART USART1
|
#define INVERTER_USART USART1
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#define FC_VERSION_MAJOR 3 // increment when a major release is made (big new feature, etc)
|
#define FC_VERSION_MAJOR 3 // increment when a major release is made (big new feature, etc)
|
||||||
#define FC_VERSION_MINOR 0 // increment when a minor release is made (small new feature, change etc)
|
#define FC_VERSION_MINOR 0 // increment when a minor release is made (small new feature, change etc)
|
||||||
#define FC_VERSION_PATCH_LEVEL 0 // increment when a bug is fixed
|
#define FC_VERSION_PATCH_LEVEL 1 // increment when a bug is fixed
|
||||||
|
|
||||||
#define STR_HELPER(x) #x
|
#define STR_HELPER(x) #x
|
||||||
#define STR(x) STR_HELPER(x)
|
#define STR(x) STR_HELPER(x)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue