mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +02:00
some changes
This commit is contained in:
@@ -106,8 +106,8 @@ function handleData(wss, receivedData, rdsWss) {
|
||||
case receivedLine.startsWith('T'): // Frequency
|
||||
modifiedData = receivedLine.substring(1).split(",")[0];
|
||||
|
||||
rdsReset();
|
||||
if((modifiedData / 1000).toFixed(3) == dataToSend.freq) return; // Prevent tune spamming using scrollwheel
|
||||
rdsReset();
|
||||
|
||||
parsedValue = parseFloat(modifiedData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user