mirror of https://github.com/Desuuuu/klipper.git
sample-macros.cfg: Fix action_respond_info
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
parent
3a854cacd1
commit
b8bafcf0ed
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue