Switch from GPLv2 to GPLv2+
[fw/altos] / src / kernel / ao_log_gps.h
index 733db19b92110b4dd7eb5a846c235e2c9963388d..cc947d6e8c634f2b2a404ba33705e2449abe7e32 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
  *
  * 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
  *
  * 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"
 
 #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
 
 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_ */