mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 08:19:19 +02:00
oops
This commit is contained in:
@@ -352,6 +352,7 @@ function handleWebSocketMessage(event) {
|
||||
const sum = signalData.reduce((acc, strNum) => acc + parseFloat(strNum), 0);
|
||||
data.push(sum / signalData.length);
|
||||
}
|
||||
socket.onmessage = handleWebSocketMessage;
|
||||
|
||||
const signalBuffer = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user