diff --git a/macros.cfg b/macros.cfg index a8a91947..2e05dfe2 100644 --- a/macros.cfg +++ b/macros.cfg @@ -827,7 +827,7 @@ gcode: {% if printer.configfile.settings.beacon is defined and printer.configfile.settings.beacon.mesh_runs % 2 != 0 and probe_first %} {% set probe_first = false %} - {% else if printer.configfile.settings.beacon is defined and printer.configfile.settings.beacon.mesh_runs % 2 == 0 and not probe_first %} + {% elif printer.configfile.settings.beacon is defined and printer.configfile.settings.beacon.mesh_runs % 2 == 0 and not probe_first %} {% set probe_first = true %} {% endif %} {% if should_prime and probe_first %}