Small fixes to make it work with upstream version

pull/63/head
Tadeusz Magura-Witkowski 2021-02-10 18:00:00 +01:00
rodzic dd3d428fc8
commit 9b9cd8720b
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1035,7 +1035,7 @@ void SetupAsyncServer() {
});
server.on("/live.kml", HTTP_GET, [](AsyncWebServerRequest * request) {
request->send(200, "application/vnd.google-earth.kml+xml", createKMLLive(sonde.myIP));
request->send(200, "application/vnd.google-earth.kml+xml", createKMLLive(sonde.ipaddr.c_str()));
});
server.on("/dynamic.kml", HTTP_GET, [](AsyncWebServerRequest * request) {

Wyświetl plik

@ -239,7 +239,6 @@ public:
// moved to heap, saving space in .bss
//SondeInfo sondeList[MAXSONDE+1];
SondeInfo *sondeList;
char myIP[17]; // 17 - to fit full IPv4 IP + null byte
Sonde();
void defaultConfig();