From 659315a2c86ef5a4628a93adb51b050249b9ffb3 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Tue, 20 Aug 2013 10:53:56 +0200 Subject: [PATCH] Adding new line to warmup command, to be sure --- src/rest/api/api_printer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/api/api_printer.lua b/src/rest/api/api_printer.lua index b574b4e..05c79d3 100644 --- a/src/rest/api/api_printer.lua +++ b/src/rest/api/api_printer.lua @@ -244,7 +244,7 @@ function M.heatup_POST(request, response) local argId,devpath,ultipath = getPrinterDataOrFail(request, response) if argId == nil then return end - local gcode = settings.get('printer.autoWarmUpCommand') + local gcode = settings.get('printer.autoWarmUpCommand').."\n"; local rv,msg = sendGcode(ultipath, gcode) if rv then