From d4a401ce3000e18538dcae43d8cf5ad006a003d4 Mon Sep 17 00:00:00 2001 From: Werner Backes Date: Sat, 21 Jul 2012 07:58:00 +0200 Subject: [PATCH] Removed Revolution specific code --- flight/Modules/GPS/GPS.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/flight/Modules/GPS/GPS.c b/flight/Modules/GPS/GPS.c index 93ea12262..5851ac10d 100644 --- a/flight/Modules/GPS/GPS.c +++ b/flight/Modules/GPS/GPS.c @@ -138,17 +138,6 @@ int32_t GPSInitialize(void) gpsEnabled = false; #endif -#if defined(REVOLUTION) - // Revolution expects these objects to always be defined. Not doing so will fail some - // queue connections in navigation - GPSPositionInitialize(); - GPSVelocityInitialize(); - GPSTimeInitialize(); - GPSSatellitesInitialize(); - HomeLocationInitialize(); - updateSettings(); - -#else if (gpsPort && gpsEnabled) { GPSPositionInitialize(); GPSVelocityInitialize(); @@ -161,7 +150,6 @@ int32_t GPSInitialize(void) #endif updateSettings(); } -#endif if (gpsPort && gpsEnabled) { GPSSettingsInitialize();