mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Revert "Revert "Added 'ledstrip_visual_beeper' feature.""
This reverts commit f8aefc9c6f
.
This commit is contained in:
parent
f8aefc9c6f
commit
df6d564a9d
6 changed files with 37 additions and 1 deletions
|
@ -386,6 +386,13 @@ int beeperTableEntryCount(void)
|
|||
return (int)BEEPER_TABLE_ENTRY_COUNT;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns true if the beeper is on, false otherwise
|
||||
*/
|
||||
bool isBeeperOn(void) {
|
||||
return beeperIsOn;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
// Stub out beeper functions if #BEEPER not defined
|
||||
|
@ -397,5 +404,6 @@ uint32_t getArmingBeepTimeMicros(void) {return 0;}
|
|||
beeperMode_e beeperModeForTableIndex(int idx) {UNUSED(idx); return BEEPER_SILENCE;}
|
||||
const char *beeperNameForTableIndex(int idx) {UNUSED(idx); return NULL;}
|
||||
int beeperTableEntryCount(void) {return 0;}
|
||||
bool isBeeperOn(void) {return false;}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue