aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/sample-macros.cfg4
1 files 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,