mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Improved arming disabled reason beeps.
This commit is contained in:
parent
9df87ea4ba
commit
655c5fabc9
3 changed files with 49 additions and 22 deletions
|
@ -32,6 +32,12 @@ typedef enum {
|
|||
FAILURE_GYRO_INIT_FAILED
|
||||
} failureMode_e;
|
||||
|
||||
#define WARNING_FLASH_DURATION_MS 50
|
||||
#define WARNING_FLASH_COUNT 5
|
||||
#define WARNING_PAUSE_DURATION_MS 500
|
||||
#define WARNING_CODE_DURATION_LONG_MS 250
|
||||
#define WARNING_CODE_DURATION_SHORT_MS 50
|
||||
|
||||
// failure
|
||||
void indicateFailure(failureMode_e mode, int repeatCount);
|
||||
void failureMode(failureMode_e mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue