@@ -71,19 +71,6 @@ void ntripClientStop(bool clientAllocated) {online.ntripClient = false;}
7171void ntripClientUpdate () {}
7272void ntripClientValidateTables () {}
7373
74- // ----------------------------------------
75- // NTRIP server
76- // ----------------------------------------
77-
78- void ntripServerPrintStatus (int serverIndex) {systemPrintf (" **NTRIP Server %d not compiled**\r\n " , serverIndex);}
79- void ntripServerProcessRTCM (int serverIndex, uint8_t incoming) {}
80- void ntripServerStop (int serverIndex, bool shutdown) {online.ntripServer [serverIndex] = false ;}
81- void ntripServerUpdate () {}
82- void ntripServerValidateTables () {}
83- bool ntripServerIsCasting (int serverIndex) {
84- return (false );
85- }
86-
8774// ----------------------------------------
8875// TCP client
8976// ----------------------------------------
@@ -131,6 +118,18 @@ void otaVerifyTables() {}
131118
132119#endif // COMPILE_OTA_AUTO
133120
121+ // ----------------------------------------
122+ // HTTP Client
123+ // ----------------------------------------
124+
125+ #ifndef COMPILE_HTTP_CLIENT
126+
127+ void httpClientPrintStatus () {}
128+ void httpClientUpdate () {}
129+ void httpClientValidateTables () {}
130+
131+ #endif // COMPILE_HTTP_CLIENT
132+
134133// ----------------------------------------
135134// MQTT Client
136135// ----------------------------------------
@@ -147,16 +146,17 @@ void mqttClientValidateTables() {}
147146#endif // COMPILE_MQTT_CLIENT
148147
149148// ----------------------------------------
150- // HTTP Client
149+ // NTRIP server
151150// ----------------------------------------
152151
153- #ifndef COMPILE_HTTP_CLIENT
154-
155- void httpClientPrintStatus () {}
156- void httpClientUpdate () {}
157- void httpClientValidateTables () {}
158-
159- #endif // COMPILE_HTTP_CLIENT
152+ #ifndef COMPILE_NTRIP_SERVER
153+ bool ntripServerIsCasting (int serverIndex) {return false ;}
154+ void ntripServerPrintStatus (int serverIndex) {systemPrintf (" **NTRIP Server %d not compiled**\r\n " , serverIndex);}
155+ void ntripServerProcessRTCM (int serverIndex, uint8_t incoming) {}
156+ void ntripServerStop (int serverIndex, bool shutdown) {online.ntripServer [serverIndex] = false ;}
157+ void ntripServerUpdate () {}
158+ void ntripServerValidateTables () {}
159+ #endif // COMPILE_NTRIP_SERVER
160160
161161// ----------------------------------------
162162// Web Server
0 commit comments