GPS support at runtime
This commit is contained in:
@@ -39,8 +39,18 @@ struct gpsdata_t
|
||||
};
|
||||
|
||||
extern gpsdata_t gpsData;
|
||||
|
||||
#if defined(DEBUG)
|
||||
extern uint8_t gpsTraceEnabled;
|
||||
#endif
|
||||
|
||||
// Setup GPS serial port
|
||||
void gpsSetSerialDriver(void* ctx, const etx_serial_driver_t* drv);
|
||||
|
||||
// Periodic processing
|
||||
void gpsWakeup();
|
||||
|
||||
// Send a 0-terminated frame
|
||||
void gpsSendFrame(const char * frame);
|
||||
|
||||
#endif // _GPS_H_
|
||||
|
||||
Reference in New Issue
Block a user