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
0fd0554b
Commit
0fd0554b
authored
5 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Simplify old safe homing sanity check
parent
fa6e7cb7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/inc/SanityCheck.h
+3
-8
3 additions, 8 deletions
Marlin/src/inc/SanityCheck.h
with
3 additions
and
8 deletions
Marlin/src/inc/SanityCheck.h
+
3
−
8
View file @
0fd0554b
...
...
@@ -1361,14 +1361,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
* Make sure Z_SAFE_HOMING point is reachable
*/
#if ENABLED(Z_SAFE_HOMING)
#if HAS_BED_PROBE && (ENABLED(DELTA) || IS_SCARA)
static_assert
(
WITHIN
(
Z_SAFE_HOMING_X_POINT
,
PROBE_X_MIN
,
PROBE_X_MAX
),
"Z_SAFE_HOMING_X_POINT is outside the probe region."
);
static_assert
(
WITHIN
(
Z_SAFE_HOMING_Y_POINT
,
PROBE_Y_MIN
,
PROBE_Y_MAX
),
"Z_SAFE_HOMING_Y_POINT is outside the probe region."
);
#else
static_assert
(
WITHIN
(
Z_SAFE_HOMING_X_POINT
,
X_MIN_POS
,
X_MAX_POS
),
"Z_SAFE_HOMING_X_POINT can't be reached by the nozzle."
);
static_assert
(
WITHIN
(
Z_SAFE_HOMING_Y_POINT
,
Y_MIN_POS
,
Y_MAX_POS
),
"Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle."
);
#endif
#endif // Z_SAFE_HOMING
static_assert
(
WITHIN
(
Z_SAFE_HOMING_X_POINT
,
X_MIN_BED
,
X_MAX_BED
),
"Z_SAFE_HOMING_X_POINT can't be reached by the nozzle."
);
static_assert
(
WITHIN
(
Z_SAFE_HOMING_Y_POINT
,
Y_MIN_BED
,
Y_MAX_BED
),
"Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle."
);
#endif
/**
* Make sure DISABLE_[XYZ] compatible with selected homing options
...
...
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