kopia lustrzana https://github.com/SQ9MDD/TTGO-T-Beam-LoRa-APRS
GPS TCP: fix compilation without WiFi
This adds an ifdef around a wifi-specific line introduced in
edee67e798
.
pull/94/head
rodzic
14cbcac5d1
commit
5e64d3c0c7
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue