From f05a12863c0b2d114f0ce6f99c140e4187ef15ed Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sat, 25 Apr 2015 10:55:59 +0200 Subject: [PATCH] Update beeper code to allow targets that don't support GPS to be built. --- src/main/io/beeper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/io/beeper.c b/src/main/io/beeper.c index ac4ace363a..4fbd637cb1 100644 --- a/src/main/io/beeper.c +++ b/src/main/io/beeper.c @@ -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.