X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao_log_gps.h;h=cc947d6e8c634f2b2a404ba33705e2449abe7e32;hp=733db19b92110b4dd7eb5a846c235e2c9963388d;hb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;hpb=302842ccda46a0a3d58b60d5c7fc82e05f614b0b diff --git a/src/kernel/ao_log_gps.h b/src/kernel/ao_log_gps.h index 733db19b..cc947d6e 100644 --- a/src/kernel/ao_log_gps.h +++ b/src/kernel/ao_log_gps.h @@ -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 @@ -18,15 +19,13 @@ #include "ao.h" #include "ao_telemetry.h" -uint8_t -ao_log_gps_should_log(int32_t lat, int32_t lon, int16_t alt); +#ifndef _AO_LOG_GPS_H_ +#define _AO_LOG_GPS_H_ void ao_log_gps_flight(void); void -ao_log_gps_data(uint16_t tick, uint8_t state, struct ao_telemetry_location *gps_data); - -void -ao_log_gps_tracking(uint16_t tick, struct ao_telemetry_satellite *gps_tracking_data); +ao_log_gps_data(uint16_t tick, struct ao_telemetry_location *gps_data); +#endif /* _AO_LOG_GPS_H_ */