chore: more OTX to ETX housekeeping (#5396)

This commit is contained in:
Peter Feerick
2024-08-14 21:02:29 +10:00
committed by GitHub
parent 0768091fe1
commit 839cfbd53c
487 changed files with 537 additions and 1651 deletions
+6 -8
View File
@@ -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);