1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

backgrounds, new banlist, bugfixes, presets

This commit is contained in:
NoobishSVK
2024-03-24 18:24:19 +01:00
parent 72953a2529
commit f855cbb78a
14 changed files with 318 additions and 66 deletions

View File

@@ -209,6 +209,7 @@ var dataToSend = {
previousFreq: 87.500.toFixed(3),
signal: 0,
highestSignal: -Infinity,
bw: 0,
st: false,
st_forced: false,
rds: false,
@@ -299,7 +300,8 @@ function handleData(ws, receivedData) {
}
break;
case receivedLine.startsWith('W'): // Bandwidth
console.log(receivedLine);
initialData.bw = receivedLine.substring(1);
dataToSend.bw = receivedLine.substring(1);
break;
case receivedLine.startsWith('Sm'):
processSignal(receivedLine, false, false);