#ifndef _GPSREAD_H #define _GPSREAD_H #include // library for parsing NMEA data #include #include "timekeeper.h" #ifdef GPS_I2C // Needed for reading from I2C Bus #include #endif #define NMEA_FRAME_SIZE 80 // NEMA has a maxium of 80 bytes per record #define NMEA_BUFFERTIME 50 // 50ms safety time regardless extern TinyGPSPlus gps; // Make TinyGPS++ instance globally availabe extern gpsStatus_t gps_status; // Make struct for storing gps data globally available extern TaskHandle_t GpsTask; int gps_init(void); void gps_read(void); void gps_loop(void *pvParameters); time_t get_gpstime(void); int gps_config(); #endif