gpx.h 396 B

123456789101112131415
  1. #pragma once
  2. #include "ff.h"
  3. extern FIL gpx_file;
  4. unsigned char gpx_init(FIL *file);
  5. unsigned char gpx_write(struct location_s *loc, FIL *file);
  6. unsigned char gpx_close(FIL *file);
  7. void gpx_process_point(struct location_s *loc, FIL *file);
  8. void gpx_save_single_point(struct location_s *loc);
  9. void add_distance(float dist);
  10. void add_elevation(float ele_change);
  11. unsigned char is_paused(void);