altos: Declare all public functions in header files
[fw/altos] / src / kernel / ao_log_gps.h
index 733db19b92110b4dd7eb5a846c235e2c9963388d..096c8383e7da70271147e7ce6c5e4a53ab5bdf0f 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
- * 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_ */