X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_gps_sirf.c;h=8bebd61012a123b8c1ec017966770868877a2636;hb=98ea690cc7514f43254f3a6c72668c11820f657c;hp=344b7121446cc410dce3fc5a1e59f04a92fa4fa5;hpb=db6003d34595fbd103d5b131912b6a797254f1c5;p=fw%2Faltos diff --git a/src/drivers/ao_gps_sirf.c b/src/drivers/ao_gps_sirf.c index 344b7121..8bebd610 100644 --- a/src/drivers/ao_gps_sirf.c +++ b/src/drivers/ao_gps_sirf.c @@ -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;