|
3 | 3 | mode (ENABLE_DEVELOPER defined). |
4 | 4 | */ |
5 | 5 |
|
6 | | -#ifndef COMPILE_ETHERNET |
7 | | - |
8 | 6 | //---------------------------------------- |
9 | 7 | // Ethernet |
10 | 8 | //---------------------------------------- |
11 | 9 |
|
| 10 | +#ifndef COMPILE_ETHERNET |
| 11 | + |
12 | 12 | bool ethernetLinkUp() {return false;} |
13 | 13 | void menuEthernet() {systemPrintln("**Ethernet not compiled**");} |
14 | 14 | void ethernetUpdate() {} |
15 | 15 |
|
16 | 16 | bool ntpLogIncreasing = false; |
17 | 17 |
|
18 | | -//---------------------------------------- |
19 | | -// NTP: Network Time Protocol |
20 | | -//---------------------------------------- |
21 | | - |
22 | | -void menuNTP() {systemPrint("**NTP not compiled**");} |
23 | | -void ntpServerBegin() {} |
24 | | -void ntpServerUpdate() {} |
25 | | -void ntpValidateTables() {} |
26 | | -void ntpServerStop() {} |
27 | | - |
28 | 18 | #endif // COMPILE_ETHERNET |
29 | 19 |
|
30 | 20 | //---------------------------------------- |
@@ -107,6 +97,18 @@ void mqttClientValidateTables() {} |
107 | 97 |
|
108 | 98 | #endif // COMPILE_MQTT_CLIENT |
109 | 99 |
|
| 100 | +//---------------------------------------- |
| 101 | +// NTP: Network Time Protocol |
| 102 | +//---------------------------------------- |
| 103 | + |
| 104 | +#ifndef COMPILE_NTP |
| 105 | +void menuNTP() {systemPrint("**NTP not compiled**");} |
| 106 | +void ntpServerBegin() {} |
| 107 | +void ntpServerUpdate() {} |
| 108 | +void ntpValidateTables() {} |
| 109 | +void ntpServerStop() {} |
| 110 | +#endif // COMPILE_NTP |
| 111 | + |
110 | 112 | //---------------------------------------- |
111 | 113 | // NTRIP client |
112 | 114 | //---------------------------------------- |
|
0 commit comments