From d9d2edd2491b628cdbe99d76683c064fe7717bf3 Mon Sep 17 00:00:00 2001
From: unknown
Date: Thu, 25 Apr 2024 17:26:35 +0200
Subject: [PATCH] test without hupcl
---
index.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 0c1f070..b0a86da 100644
--- a/index.js
+++ b/index.js
@@ -1136,7 +1136,7 @@ io.on("connection", function(socket) {
port = new SerialPort({
path: data.port,
baudRate: parseInt(data.baud),
- hupcl: false // Don't set DTR - useful for X32 Reset
+ //hupcl: false // Don't set DTR - useful for X32 Reset
});
} else if (data.type == "telnet") {
console.log("connect", "Connecting to " + data.ip + " via " + data.type);
@@ -1237,7 +1237,6 @@ io.on("connection", function(socket) {
'type': 'info'
}
io.sockets.emit('data', output);
- addQRealtime(String.fromCharCode(0x18)); // Check if it's Smoothieware?
addQRealtime("version\n"); // Check if it's Smoothieware?
debug_log("Sent: version");
}