mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Update beeper code to allow targets that don't support GPS to be built.
This commit is contained in:
parent
3974b02b3a
commit
f05a12863c
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,7 @@ void beeperConfirmationBeeps(uint8_t beepCount)
|
||||||
beeper(BEEPER_MULTI_BEEPS); //initiate sequence
|
beeper(BEEPER_MULTI_BEEPS); //initiate sequence
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef GPS
|
||||||
void beeperGpsStatus(void)
|
void beeperGpsStatus(void)
|
||||||
{
|
{
|
||||||
// if GPS fix then beep out number of satellites
|
// if GPS fix then beep out number of satellites
|
||||||
|
@ -242,6 +243,8 @@ void beeperGpsStatus(void)
|
||||||
beeper(BEEPER_RX_SET);
|
beeper(BEEPER_RX_SET);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Beeper handler function to be called periodically in loop. Updates beeper
|
* Beeper handler function to be called periodically in loop. Updates beeper
|
||||||
* state via time schedule.
|
* state via time schedule.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue