Skip to content

Commit

Permalink
Config_checks: Missing ! in pin inversion example in Verify endstops
Browse files Browse the repository at this point in the history
In the "Verify endstops" section there is an example of adding an
exclamation point to the pin definition to invert its logic.  I
believe the intention in the example is to keep the hardware pull-up
^ and follow it with ! to invert the pin logic, but the ! is missing.

Signed-off-by: Tom Dunn <[email protected]>
  • Loading branch information
Tom Dunn authored and KevinOConnor committed Oct 19, 2023
1 parent 593486f commit 0c521b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Config_checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The QUERY_ENDSTOPS command should report the endstop as "TRIGGERED".

If the endstop appears inverted (it reports "open" when triggered and
vice-versa) then add a "!" to the pin definition (for example,
"endstop_pin: ^PA2"), or remove the "!" if there is already one
"endstop_pin: ^!PA2"), or remove the "!" if there is already one
present.

If the endstop does not change at all then it generally indicates that
Expand Down

0 comments on commit 0c521b6

Please sign in to comment.