mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
including suggestions by ledvinap
This commit is contained in:
parent
3af6ff7e9b
commit
6b1e3fc2c4
3 changed files with 5 additions and 9 deletions
|
@ -379,9 +379,9 @@ const char *beeperNameForTableIndex(int idx)
|
|||
/*
|
||||
* Returns the number of entries in the beeper-sounds table.
|
||||
*/
|
||||
uint8_t beeperTableEntryCount(void)
|
||||
int beeperTableEntryCount(void)
|
||||
{
|
||||
return (uint8_t)BEEPER_TABLE_ENTRY_COUNT;
|
||||
return (int)BEEPER_TABLE_ENTRY_COUNT;
|
||||
}
|
||||
|
||||
#else
|
||||
|
@ -394,6 +394,6 @@ void beeperUpdate(void) {}
|
|||
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;}
|
||||
uint8_t beeperTableEntryCount(void) {return 0;}
|
||||
int beeperTableEntryCount(void) {return 0;}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue