prepare for habhub going down

pull/328/head
Hansi, dl9rdz 2022-09-18 00:17:22 +00:00
rodzic 9761f9cee1
commit be9e240e58
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -356,7 +356,7 @@ map.addControl(new L.Control.Button([ { position:'topright', text: '⚙️', hre
var m = new Date();
var datetime = m.getUTCFullYear() + "-" + az(m.getUTCMonth()+1) + "-" + az(m.getUTCDate()) + "T" +
az(m.getUTCHours()) + ":" + az(m.getUTCMinutes()) + ":" + az(m.getUTCSeconds()) + "Z";
var url = 'https://predict.cusf.co.uk/api/v1/';
var url = 'https://api.v2.sondehub.org/tawhiri';
url += '?launch_latitude='+data.lat + '&launch_longitude='+tawhiri_lon(data.lon);
url += '&launch_altitude='+data.alt + '&launch_datetime='+datetime;
url += '&ascent_rate='+ascent + '&burst_altitude=' + burst + '&descent_rate='+descent;
@ -527,4 +527,4 @@ function bearing(latlng1, latlng2) {
var bearing = ((Math.atan2(y, x) * 180 / Math.PI) + 360) % 360;
bearing = bearing < 0 ? bearing-360 : bearing;
return Math.round(bearing);
}
}

Wyświetl plik

@ -1,4 +1,4 @@
const char *version_name = "rdzTTGOsonde";
const char *version_id = "devel20220531";
const char *version_id = "devel20220918";
const int SPIFFS_MAJOR=2;
const int SPIFFS_MINOR=16;