#pragma once #include "ff.h" #define GPX_POINTS_PROCESSING_ENABLE 0 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);