From e7e9e1adf0a178116a9aa5b38ee596c940e9a773 Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Thu, 5 Feb 2015 17:29:25 +1100 Subject: [PATCH] AP_GPS: Changes to fix the warnings in rover sitl build. We are starting the process of resolving all the warnings in the ardupilot builds of all vehicles and platforms. --- libraries/AP_GPS/AP_GPS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_GPS/AP_GPS.cpp b/libraries/AP_GPS/AP_GPS.cpp index ec2ef331ec..ae58d66e5d 100644 --- a/libraries/AP_GPS/AP_GPS.cpp +++ b/libraries/AP_GPS/AP_GPS.cpp @@ -241,7 +241,9 @@ AP_GPS::detect_instance(uint8_t instance) #endif } +#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 found_gps: +#endif if (new_gps != NULL) { state[instance].status = NO_FIX; drivers[instance] = new_gps;