From b8bafcf0edfe57ba491b0d35f4733ca79370e14c Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Mon, 21 Sep 2020 13:02:27 +0200 Subject: [PATCH] sample-macros.cfg: Fix action_respond_info Signed-off-by: Florian Heilmann --- config/sample-macros.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sample-macros.cfg b/config/sample-macros.cfg index 60ec51ec..1d98f5c8 100644 --- a/config/sample-macros.cfg +++ b/config/sample-macros.cfg @@ -140,7 +140,7 @@ gcode: [gcode_macro QUERY_BME280] default_parameter_SENSOR: bme280 my_sensor gcode: - {printer.gcode.action_respond_info( + {action_respond_info( "Temperature: %.2f C\n" "Pressure: %.2f hPa\n" "Humidity: %.2f%%" % ( @@ -171,7 +171,7 @@ gcode: [gcode_macro QUERY_HTU21D] default_parameter_SENSOR: htu21d my_sensor gcode: - {printer.gcode.action_respond_info( + {action_respond_info( "Temperature: %.2f C\n" "Humidity: %.2f%%" % ( printer[SENSOR].temperature,