chore: more OTX to ETX housekeeping (#5396)
This commit is contained in:
+6
-8
@@ -19,10 +19,9 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _GPS_H_
|
||||
#define _GPS_H_
|
||||
#pragma once
|
||||
|
||||
#include "opentx.h"
|
||||
#include "edgetx.h"
|
||||
#include <inttypes.h>
|
||||
|
||||
struct gpsdata_t
|
||||
@@ -50,14 +49,13 @@ extern uint8_t gpsTraceEnabled;
|
||||
#define GPS_PROTOCOL_UBX 2
|
||||
|
||||
// Setup GPS serial port
|
||||
void gpsSetSerialDriver(void* ctx, const etx_serial_driver_t* drv, int protocol);
|
||||
void gpsSetSerialDriver(void* ctx, const etx_serial_driver_t* drv,
|
||||
int protocol);
|
||||
|
||||
// Periodic processing
|
||||
void gpsWakeup();
|
||||
|
||||
// Send a 0-terminated frame
|
||||
void gpsSendFrame(const char * frame);
|
||||
void gpsSendFrame(const char* frame);
|
||||
|
||||
uint32_t GPS_coord_to_degrees(const char * coordinateString);
|
||||
|
||||
#endif // _GPS_H_
|
||||
uint32_t GPS_coord_to_degrees(const char* coordinateString);
|
||||
|
||||
Reference in New Issue
Block a user