From the sliced gcode:
Macro:
gcode:
# Parameters
{% set bedtemp = params.BED|int %}
{% set hotendtemp = params.HOTEND|int %}
{% set chambertemp = params.CHAMBER|default(0)|int %}
There are multiple issues:
- You are calling the macro wrongly in the slicer, e.g. wrong parameters (BED vs. BED_TEMP)
- There are line breaks
- You assume the temps to be integers (not sure if it is true for Prusa, but generally a dangerous assumption)
See Using START_PRINT and END_PRINT Macros for a breakdown.