File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -353,19 +353,22 @@ void storeHPdata(UBX_NAV_HPPOSLLH_data_t *ubxDataStruct)
353353// Used during Rover+WiFi NTRIP Client mode to provide caster with GGA sentence every 10 seconds
354354void pushGPGGA (NMEA_GGA_data_t *nmeaData)
355355{
356+ #ifdef COMPILE_WIFI
356357 // Provide the caster with our current position as needed
357358 if ((ntripClient.connected () == true ) && (settings.ntripClient_TransmitGGA == true ))
358359 {
359360 log_d (" Pushing GGA to server: %s" , nmeaData->nmea ); // nmea is printable (NULL-terminated) and already has \r\n on the end
360361
361362 ntripClient.print ((const char *)nmeaData->nmea ); // Push our current GGA sentence to caster
362363 }
364+ #endif
363365}
364366
365367// Check for the arrival of any correction data. Push it to the GNSS.
366368// Stop task if the connection has dropped or if we receive no data for maxTimeBeforeHangup_ms
367369void updateNTRIPClient ()
368370{
371+ #ifdef COMPILE_WIFI
369372 if (online.ntripClient == true )
370373 {
371374 if (ntripClient.connected () == true ) // Check that the connection is still open
@@ -405,4 +408,5 @@ void updateNTRIPClient()
405408 online.ntripClient = false ;
406409 }
407410 }
411+ #endif
408412}
You can’t perform that action at this time.
0 commit comments