1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

sync order of beeperTable and beeperMode_e enum

add beeperModeMaskForTableIndex function and use it in CLI
add change to unittest to make it compile
This commit is contained in:
bkeinert 2017-08-13 12:04:04 +02:00 committed by bkeinert
parent 1e9b553392
commit 5d258d11f2
4 changed files with 23 additions and 8 deletions

View file

@ -182,6 +182,7 @@ void beeperWarningBeeps(uint8_t) {}
void beeperUpdate(timeUs_t) {}
uint32_t getArmingBeepTimeMicros(void) {return 0;}
beeperMode_e beeperModeForTableIndex(int) {return BEEPER_SILENCE;}
uint32_t beeperModeMaskForTableIndex(int idx) {UNUSED(idx); return 0;}
const char *beeperNameForTableIndex(int) {return NULL;}
int beeperTableEntryCount(void) {return 0;}
bool isBeeperOn(void) {return false;}