hotfix for data OK line

This commit is contained in:
NoobishSVK
2024-07-15 22:37:28 +02:00
parent 073211dba8
commit 85bf3657ac
+1 -1
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