mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
fixed buzzer on rev5 boards;
added experimental gyro-based headfree boxes git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@429 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
800ce6bdf7
commit
3bb1063001
6 changed files with 3142 additions and 3096 deletions
|
@ -213,8 +213,8 @@ typedef struct baro_t
|
|||
|
||||
#ifdef BEEP_GPIO
|
||||
#define BEEP_TOGGLE digitalToggle(BEEP_GPIO, BEEP_PIN);
|
||||
#define BEEP_OFF digitalHi(BEEP_GPIO, BEEP_PIN);
|
||||
#define BEEP_ON digitalLo(BEEP_GPIO, BEEP_PIN);
|
||||
#define BEEP_OFF systemBeep(false);
|
||||
#define BEEP_ON systemBeep(true);
|
||||
#else
|
||||
#define BEEP_TOGGLE ;
|
||||
#define BEEP_OFF ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue