X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_log_gps.h;h=096c8383e7da70271147e7ce6c5e4a53ab5bdf0f;hb=188f9efadd480de872f86a8eb741e8738db84c6b;hp=733db19b92110b4dd7eb5a846c235e2c9963388d;hpb=302842ccda46a0a3d58b60d5c7fc82e05f614b0b;p=fw%2Faltos diff --git a/src/kernel/ao_log_gps.h b/src/kernel/ao_log_gps.h index 733db19b..096c8383 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,16 @@ #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); +ao_log_gps_data(uint16_t tick, struct ao_telemetry_location *gps_data); void ao_log_gps_tracking(uint16_t tick, struct ao_telemetry_satellite *gps_tracking_data); +#endif /* _AO_LOG_GPS_H_ */