feat(radio): prefer UBX over NMEA when both supported (#4857)

This commit is contained in:
Bastian Springer
2024-04-09 10:22:40 +10:00
committed by GitHub
parent 147bd1d8a2
commit 24bae0df0c
2 changed files with 10 additions and 6 deletions
+1 -4
View File
@@ -129,10 +129,7 @@ static void configureGps(bool detect)
{
static int state = 0;
if (detect) {
state = 0;
return;
}
if (detect) state = 0;
auto txCompleted = gpsSerialDrv->txCompleted;
if (txCompleted && !txCompleted(gpsSerialCtx)) return;