Switch from GPLv2 to GPLv2+
[fw/altos] / src / drivers / ao_gps_sirf.c
index 344b7121446cc410dce3fc5a1e59f04a92fa4fa5..8bebd61012a123b8c1ec017966770868877a2636 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -413,9 +414,6 @@ ao_gps(void) __reentrant
                        ao_gps_data.hdop = ao_sirf_data.hdop;
                        ao_gps_data.climb_rate = ao_sirf_data.climb_rate;
                        ao_gps_data.flags |= AO_GPS_COURSE_VALID;
-#if HAS_FLIGHT || HAS_TRACKER
-                       ao_gps_data.state = ao_flight_state;
-#endif
 #if 0
                        if (ao_sirf_data.h_error > 6553500)
                                ao_gps_data.h_error = 65535;