kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
Merge pull request #153 from SoloCNC/mega_board_reconnect_issue_fix
clear statusloop interval before set itinterface
commit
51beec5f19
1
index.js
1
index.js
|
@ -974,6 +974,7 @@ io.on("connection", function(socket) {
|
|||
io.sockets.emit('grbl')
|
||||
}, 600)
|
||||
// Start interval for status queries
|
||||
clearInterval(statusLoop);
|
||||
statusLoop = setInterval(function() {
|
||||
if (status.comms.connectionStatus > 0) {
|
||||
addQRealtime("?");
|
||||
|
|
Ładowanie…
Reference in New Issue