1
0
Fork 0
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:
Pierre-A 2016-02-27 17:49:39 +01:00 committed by borisbstyle
parent 3af6ff7e9b
commit 6b1e3fc2c4
3 changed files with 5 additions and 9 deletions

View file

@ -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