REVO. Added support for Beeper on PB4. Used by AirbotF4 and Flip32F4. LED1 disabled and beeper port inverted.

This commit is contained in:
Anders Hoglund 2016-09-19 10:20:36 +02:00
parent 341b573f66
commit 56d4d6f393
1 changed files with 5 additions and 1 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