Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
2e749d60
Commit
2e749d60
authored
13 years ago
by
Erik van der Zalm
Browse files
Options
Downloads
Patches
Plain Diff
Added DISABLE_MAX_ENDSTOPS
parent
33f56978
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/Configuration.h
+1
-0
1 addition, 0 deletions
Marlin/Configuration.h
Marlin/pins.h
+6
-0
6 additions, 0 deletions
Marlin/pins.h
with
7 additions
and
0 deletions
Marlin/Configuration.h
+
1
−
0
View file @
2e749d60
...
...
@@ -118,6 +118,7 @@
const
bool
X_ENDSTOPS_INVERTING
=
true
;
// set to true to invert the logic of the endstops.
const
bool
Y_ENDSTOPS_INVERTING
=
true
;
// set to true to invert the logic of the endstops.
const
bool
Z_ENDSTOPS_INVERTING
=
true
;
// set to true to invert the logic of the endstops.
#define DISABLE_MAX_ENDSTOPS
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
...
...
This diff is collapsed.
Click to expand it.
Marlin/pins.h
+
6
−
0
View file @
2e749d60
...
...
@@ -952,6 +952,12 @@
#define _E2_PINS
#endif
#ifdef DISABLE_MAX_ENDSTOPS
#define X_MAX_PIN -1
#define Y_MAX_PIN -1
#define Z_MAX_PIN -1
#endif
#define SENSITIVE_PINS {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, LED_PIN, PS_ON_PIN, \
HEATER_BED_PIN, FAN_PIN, \
_E0_PINS _E1_PINS _E2_PINS \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment