Skip to content

Commit e10ba00

Browse files
committed
Add not compiled print to startWebServer
1 parent 7ed6932 commit e10ba00

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

Firmware/RTK_Surveyor/Developer.ino

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pvtServer.ino
1111
// Ethernet
1212
//----------------------------------------
1313

14-
void menuEthernet() {systemPrintln("NOT compiled");}
14+
void menuEthernet() {systemPrintln("Ethernet not compiled");}
1515
void ethernetBegin() {}
1616
IPAddress ethernetGetIpAddress() {return IPAddress((uint32_t)0);}
1717
void ethernetUpdate() {}
@@ -27,7 +27,7 @@ void ethernetWebServerStopESP32W5500() {}
2727
// NTP: Network Time Protocol
2828
//----------------------------------------
2929

30-
void menuNTP() {systemPrint("NOT compiled");}
30+
void menuNTP() {systemPrint("NTP not compiled");}
3131
void ntpServerBegin() {}
3232
void ntpServerUpdate() {}
3333
void ntpValidateTables() {}
@@ -41,15 +41,15 @@ void ntpServerStop() {}
4141
// Network layer
4242
//----------------------------------------
4343

44-
void menuNetwork() {systemPrint("NOT compiled");}
44+
void menuNetwork() {systemPrint("Network not compiled");}
4545
void networkUpdate() {}
4646
void networkVerifyTables() {}
4747

4848
//----------------------------------------
4949
// NTRIP client
5050
//----------------------------------------
5151

52-
void ntripClientPrintStatus() {systemPrint("NOT compiled");}
52+
void ntripClientPrintStatus() {systemPrint("NTRIP Client not compiled");}
5353
void ntripClientStart()
5454
{
5555
systemPrintln("NTRIP Client not available: Ethernet and WiFi not compiled");
@@ -63,7 +63,7 @@ void ntripClientValidateTables() {}
6363
//----------------------------------------
6464

6565
bool ntripServerIsCasting() {return false;}
66-
void ntripServerPrintStatus() {systemPrint("NOT compiled");}
66+
void ntripServerPrintStatus() {systemPrint("NTRIP Server not compiled");}
6767
void ntripServerProcessRTCM(uint8_t incoming) {}
6868
void ntripServerStart()
6969
{
@@ -81,7 +81,11 @@ void ntripServerValidateTables() {}
8181

8282
#ifndef COMPILE_AP
8383

84-
bool startWebServer(bool startWiFi = true, int httpPort = 80) {return false;}
84+
bool startWebServer(bool startWiFi = true, int httpPort = 80)
85+
{
86+
systemPrintln("AP not compiled");
87+
return false;
88+
}
8589
void stopWebServer() {}
8690
bool parseIncomingSettings() {return false;}
8791

@@ -113,7 +117,7 @@ void discardPvtServerBytes(RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET n
113117
// WiFi
114118
//----------------------------------------
115119

116-
void menuWiFi() {systemPrintln("NOT compiled");};
120+
void menuWiFi() {systemPrintln("WiFi not compiled");};
117121
bool wifiConnect(unsigned long timeout) {return false;}
118122
IPAddress wifiGetGatewayIpAddress() {return IPAddress((uint32_t)0);}
119123
IPAddress wifiGetIpAddress() {return IPAddress((uint32_t)0);}

0 commit comments

Comments
 (0)