Skip to content

Commit

Permalink
Merge pull request #94 from ge0rg/master
Browse files Browse the repository at this point in the history
GPS TCP: fix compilation without WiFi
  • Loading branch information
SQ9MDD authored Oct 28, 2021
2 parents 14cbcac + 5e64d3c commit 4fa5001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/taskGPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ bool gpsInitialized = false;

String gpsDataBuffer = " ";
for (;;) {
#ifdef ENABLE_WIFI
check_for_new_clients(&gpsServer, gps_clients, MAX_GPS_WIFI_CLIENTS);
#endif
while (gpsSerial.available() > 0) {
char gpsChar = (char)gpsSerial.read();
gps.encode(gpsChar);
Expand Down

0 comments on commit 4fa5001

Please sign in to comment.