*
* 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
#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_ */