x12 gps improvement (#6570)

* Add hdop handling

* Add GPS to debug screen

* Only update PilotPos when a decent hdop is achieved
This commit is contained in:
3djc
2019-07-14 17:33:31 +02:00
committed by Andre Bernet
parent 328677abed
commit 9792bf52d4
6 changed files with 24 additions and 3 deletions
+3
View File
@@ -547,6 +547,9 @@ uint8_t gpsGetByte(uint8_t * byte);
extern uint8_t gpsTraceEnabled;
#endif
void gpsSendByte(uint8_t byte);
#if defined(PCBX12S)
#define PILOTPOS_MIN_HDOP 500
#endif
// Second serial port driver
#define AUX_SERIAL