bugfixes, design changes

This commit is contained in:
NoobishSVK
2024-05-04 00:37:39 +02:00
parent a557961998
commit 57b276e136
12 changed files with 114 additions and 61 deletions
+4
View File
@@ -261,6 +261,10 @@ function handleData(ws, receivedData) {
for (const receivedLine of receivedLines) {
switch (true) {
case receivedLine.startsWith('F'): // Bandwidth
initialData.bw = receivedLine.substring(1);
dataToSend.bw = receivedLine.substring(1);
break;
case receivedLine.startsWith('P'): // PI Code
modifiedData = receivedLine.slice(1);
legacyRdsPiBuffer = modifiedData;