1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +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:
borisbstyle 2016-09-19 11:15:41 +02:00 committed by GitHub
commit 3178d71e7c
2 changed files with 6 additions and 2 deletions

View file

@ -27,8 +27,12 @@
#endif
#define LED0 PB5
#define LED1 PB4
// Disable LED1, conflicts with AirbotF4/Flip32F4 beeper
//#define LED1 PB4
#define BEEPER PB4
#define BEEPER_INVERTED
#define INVERTER PC0 // PC0 used as inverter select GPIO
#define INVERTER_USART USART1

View file

@ -17,7 +17,7 @@
#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_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(x) STR_HELPER(x)