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

Update beeper code to allow targets that don't support GPS to be built.

This commit is contained in:
Dominic Clifton 2015-04-25 10:55:59 +02:00
parent 3974b02b3a
commit f05a12863c

View file

@ -224,6 +224,7 @@ void beeperConfirmationBeeps(uint8_t beepCount)
beeper(BEEPER_MULTI_BEEPS); //initiate sequence
}
#ifdef GPS
void beeperGpsStatus(void)
{
// if GPS fix then beep out number of satellites
@ -242,6 +243,8 @@ void beeperGpsStatus(void)
beeper(BEEPER_RX_SET);
}
}
#endif
/*
* Beeper handler function to be called periodically in loop. Updates beeper
* state via time schedule.