Skip to content

Commit

Permalink
well that didn't go as expected
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Pickering <charles.pickering@live.com>
  • Loading branch information
charlespick committed Aug 3, 2021
1 parent 4c73e6d commit a3ee140
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/sample-idex.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pin: PD13
description: M106 with support for multiple fans
gcode:
; if the fanspeed isn't provided it defaults to max speed
{% if params.S is number %}
{% if params.S is defined %}
{% set marlinSpeed = params.S|int %}
{% else %}
{% set marlinSpeed = 255 %}
Expand All @@ -147,9 +147,9 @@ gcode:
{% endif %}

; if P is not a number, it gets set to -1
{% if params.P is number %}
{% if params.P is defined %}
{% set target = params.P|int %}
{% elif %}
{% else %}
{% set P = -1 %}
{% endif %}

Expand Down

0 comments on commit a3ee140

Please sign in to comment.