Make the firmware build without RS92 (#500)
No one's flying any around here and I thought I might disable it.
This commit is contained in:
parent
d814117a12
commit
36c8cb08b6
|
|
@ -83,11 +83,15 @@ String ConnSystem::getStatus() {
|
||||||
appendUptime(buf, 1024, uptime - netup_time);
|
appendUptime(buf, 1024, uptime - netup_time);
|
||||||
appendBatt(buf, 1024);
|
appendBatt(buf, 1024);
|
||||||
p = strlen(buf);
|
p = strlen(buf);
|
||||||
snprintf(buf+p, 1024-p, " <br> rdzwxGO app: %sconnected<br>RS92 RINEX eph state: %s", rdzclient.connected()?"":"not ", rs92);
|
snprintf(buf+p, 1024-p, " <br> rdzwxGO app: %sconnected<br>", rdzclient.connected()?"":"not ");
|
||||||
|
#if FEATURE_RS92
|
||||||
|
p = strlen(buf);
|
||||||
|
snprintf(buf+p, 1024-p, "RS92 RINEX eph state: %s", rdzclient.connected()?"":"not ", rs92);
|
||||||
if(ephstate == EPH_GOOD) {
|
if(ephstate == EPH_GOOD) {
|
||||||
p = strlen(buf);
|
p = strlen(buf);
|
||||||
snprintf(buf+p, 1024-p, "[%s]", eph_nowstr);
|
snprintf(buf+p, 1024-p, "[%s]", eph_nowstr);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// get DNS info, debug info...
|
// get DNS info, debug info...
|
||||||
String s = WiFi.dnsIP(0).toString();
|
String s = WiFi.dnsIP(0).toString();
|
||||||
strlcat(buf, "<br>DNS: ", 1024);
|
strlcat(buf, "<br>DNS: ", 1024);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue