This commit is contained in:
LAX18 Development
2021-07-26 20:02:00 -04:00
parent 600ca9ccfc
commit 0b853d4984
+5 -4
View File
@@ -19,9 +19,6 @@ function getData() {
setTimeout(function () {
getData()
}, 10000);
setTimeout(function () {
changeTime()
}, 1000);
}
function parseData(data) {
@@ -52,7 +49,11 @@ function parseData(data) {
}
}
fs.writeFileSync("/run/dump1090-mutability/aircraft1.json", JSON.stringify(json))
console.log(json)
//console.log(json)
setTimeout(function () {
changeTime()
}, 1000);
changeTime()
}
function changeTime() {