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

hotfix for data OK line

This commit is contained in:
NoobishSVK
2024-07-15 22:37:28 +02:00
parent 073211dba8
commit 85bf3657ac

View File

@@ -74,7 +74,7 @@ function connectToSerial() {
serialport.write('x\n');
serialport.on('data', (data) => {
if (receivedData.startsWith('OK')) {
if (data.startsWith('OK')) {
okReceived = true;
// Send the remaining commands