From f4bacb9d87fc631905e1b107a5a83c3d560cfa66 Mon Sep 17 00:00:00 2001 From: geeksville Date: Wed, 18 Mar 2020 09:29:20 -0700 Subject: [PATCH] some tbeams have occasional crap sitting in their gps rx buffer at boot? --- src/GPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPS.cpp b/src/GPS.cpp index a4a3f20ff..6c6293d2a 100644 --- a/src/GPS.cpp +++ b/src/GPS.cpp @@ -35,7 +35,7 @@ void GPS::setup() isConnected = ublox.begin(_serial_gps); // try a second time, the ublox lib serial parsing is buggy? - // if(!isConnected) isConnected = ublox.begin(_serial_gps); + if(!isConnected) isConnected = ublox.begin(_serial_gps); if (isConnected) { DEBUG_MSG("Connected to GPS successfully, TXpin=%d\n", GPS_TX_PIN);