From 71018f3ab02178815d337fdb4be2f8827691ce0a Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Feb 2019 21:40:05 -0600 Subject: [PATCH] this is not working --- octoprint_klipper/static/js/klipper_param_macro.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/octoprint_klipper/static/js/klipper_param_macro.js b/octoprint_klipper/static/js/klipper_param_macro.js index fc305be..db55554 100644 --- a/octoprint_klipper/static/js/klipper_param_macro.js +++ b/octoprint_klipper/static/js/klipper_param_macro.js @@ -65,7 +65,8 @@ $(function() { expanded = "[\"" + expanded + "\"]" expanded = expanded.replace(/(?:\r\n|\r|\n)/g, "\",\""); - OctoPrint.control.sendGcode(expanded); +// OctoPrint.control.sendGcode(expanded); + OctoPrint.control.sendGcode(["G28","G28"]) } }