mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 00:39:16 +02:00
bugfixes, design changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user