| 123456789101112131415161718 |
- #pragma once
- #include "ff.h"
- extern FIL gpx_file;
- unsigned char gpx_init(FIL *file);
- unsigned char gpx_write(struct location_s *loc, FIL *file);
- unsigned char gpx_close(FIL *file);
- void gpx_process_point(struct location_s *loc, FIL *file);
- void gpx_reset_gap(void);
- void gpx_save_single_point(struct location_s *loc);
- float distance(struct location_s *pos1, struct location_s *pos2);
- float bearing(struct location_s *pos1, struct location_s *pos2);
- void add_distance(float dist);
- void add_elevation(float ele_change);
- unsigned char is_paused(void);
|