Fix undefined error for nonexistent object in G73 handler (from #278 but doesn't add the other missing handlers yet)

pull/355/head
unknown 2024-04-09 15:46:55 +02:00
rodzic 4794ef75f7
commit 3f1a0f77a1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -847,7 +847,7 @@ GCodeParser = function(handlers, modecmdhandlers) {
G73: function(args, indx, gcp) { G73: function(args, indx, gcp) {
// peck drilling. just treat as g1 // peck drilling. just treat as g1
newLine.g73 = true; //newLine.g73 = true;
console.log("G73 gcp:", gcp); console.log("G73 gcp:", gcp);
gcp.handlers.G1(args); gcp.handlers.G1(args);
}, },