From 953b7cc2a7039834f6118ca310e7c0a6124fef37 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Sun, 11 May 2014 12:37:20 +0200 Subject: [PATCH] OP-1330 Fix a compilation issue with CC/CC3D --- flight/modules/GPS/GPS.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flight/modules/GPS/GPS.c b/flight/modules/GPS/GPS.c index b20aba170..0a2dbc3b0 100644 --- a/flight/modules/GPS/GPS.c +++ b/flight/modules/GPS/GPS.c @@ -202,7 +202,9 @@ static void gpsTask(__attribute__((unused)) void *parameters) { portTickType xDelay = 100 / portTICK_RATE_MS; uint32_t timeNowMs = xTaskGetTickCount() * portTICK_RATE_MS; +#ifdef PIOS_GPS_SETS_HOMELOCATION portTickType homelocationSetDelay = 0; +#endif GPSPositionSensorData gpspositionsensor; GPSSettingsData gpsSettings;