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
05905288
Commit
05905288
authored
10 years ago
by
Chris Roadfeldt
Browse files
Options
Downloads
Patches
Plain Diff
Further Sanity Checks for Z_PROBE_AND_ENDSTOP.
parent
8b81f20c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/SanityCheck.h
+11
-1
11 additions, 1 deletion
Marlin/SanityCheck.h
with
11 additions
and
1 deletion
Marlin/SanityCheck.h
+
11
−
1
View file @
05905288
...
...
@@ -92,12 +92,22 @@
#if Z_MIN_PIN == -1
#if Z_PROBE_PIN == -1
#ifdef Z_PROBE_REPEATABILITY_TEST
#error You must have a Z_MIN endstop to enable Z_PROBE_REPEATABILITY_TEST.
#error You must have a Z_MIN
or Z_PROBE
endstop to enable Z_PROBE_REPEATABILITY_TEST.
#else
#error ENABLE_AUTO_BED_LEVELING requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_PROBE_PIN must point to a valid hardware pin.
#endif
#endif
#endif
/**
* Require a Z Probe Pin if Z_PROBE_AND_ENDSTOP is enabled.
*/
#if defined(Z_PROBE_AND_ENDSTOP)
#if Z_PROBE_PIN == -1
#error You must have a Z_PROBE_PIN defined if you enable Z_PROBE_AND_ENDSTOP
#endif
#endif
/**
* Check if Probe_Offset * Grid Points is greater than Probing Range
*/
...
...
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