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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
5dd87d2e
Commit
5dd87d2e
authored
Apr 14, 2015
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Enable all old_z_*_endstop vars for Z_DUAL_ENDSTOPS
- Potentially addressing #1911
parent
3f02da64
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/stepper.cpp
+4
-11
4 additions, 11 deletions
Marlin/stepper.cpp
with
4 additions
and
11 deletions
Marlin/stepper.cpp
+
4
−
11
View file @
5dd87d2e
...
@@ -98,19 +98,12 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P
...
@@ -98,19 +98,12 @@ static volatile bool endstop_z_probe_hit = false; // Leaving this in even if Z_P
#if HAS_Y_MAX
#if HAS_Y_MAX
static
bool
old_y_max_endstop
=
false
;
static
bool
old_y_max_endstop
=
false
;
#endif
#endif
#if HAS_Z_MIN
#ifdef Z_DUAL_ENDSTOPS
static
bool
old_z_min_endstop
=
false
;
static
bool
old_z_min_endstop
=
false
;
#endif
#if HAS_Z_MAX
static
bool
old_z_max_endstop
=
false
;
static
bool
old_z_max_endstop
=
false
;
#endif
#ifdef Z_DUAL_ENDSTOPS
// #if HAS_Z2_MIN
static
bool
old_z2_min_endstop
=
false
;
static
bool
old_z2_min_endstop
=
false
;
// #endif
// #if HAS_Z2_MAX
static
bool
old_z2_max_endstop
=
false
;
static
bool
old_z2_max_endstop
=
false
;
// #endif
#endif
#endif
#ifdef Z_PROBE_ENDSTOP // No need to check for valid pin, SanityCheck.h already does this.
#ifdef Z_PROBE_ENDSTOP // No need to check for valid pin, SanityCheck.h already does this.
...
...
...
...
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