Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
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
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
67f816ff
Commit
67f816ff
authored
Jun 1, 2016
by
Scott Lahteine
Browse files
Options
Downloads
Plain Diff
Merge pull request #3926 from thinkyhead/rc_statics_endstops
Drop FORCE_INLINE from endstops.h
parents
2bd4f333
e60224a9
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/endstops.h
+5
-5
5 additions, 5 deletions
Marlin/endstops.h
with
5 additions
and
5 deletions
Marlin/endstops.h
+
5
−
5
View file @
67f816ff
...
@@ -66,21 +66,21 @@ class Endstops {
...
@@ -66,21 +66,21 @@ class Endstops {
static
void
M119
();
static
void
M119
();
// Enable / disable endstop checking globally
// Enable / disable endstop checking globally
static
FORCE_INLINE
void
enable_globally
(
bool
onoff
=
true
)
{
enabled_globally
=
enabled
=
onoff
;
}
static
void
enable_globally
(
bool
onoff
=
true
)
{
enabled_globally
=
enabled
=
onoff
;
}
// Enable / disable endstop checking
// Enable / disable endstop checking
static
FORCE_INLINE
void
enable
(
bool
onoff
=
true
)
{
enabled
=
onoff
;
}
static
void
enable
(
bool
onoff
=
true
)
{
enabled
=
onoff
;
}
// Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable
// Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable
static
FORCE_INLINE
void
not_homing
()
{
enabled
=
enabled_globally
;
}
static
void
not_homing
()
{
enabled
=
enabled_globally
;
}
// Clear endstops (i.e., they were hit intentionally) to suppress the report
// Clear endstops (i.e., they were hit intentionally) to suppress the report
static
FORCE_INLINE
void
hit_on_purpose
()
{
endstop_hit_bits
=
0
;
}
static
void
hit_on_purpose
()
{
endstop_hit_bits
=
0
;
}
// Enable / disable endstop z-probe checking
// Enable / disable endstop z-probe checking
#if HAS_BED_PROBE
#if HAS_BED_PROBE
static
volatile
bool
z_probe_enabled
;
static
volatile
bool
z_probe_enabled
;
static
FORCE_INLINE
void
enable_z_probe
(
bool
onoff
=
true
)
{
z_probe_enabled
=
onoff
;
}
static
void
enable_z_probe
(
bool
onoff
=
true
)
{
z_probe_enabled
=
onoff
;
}
#endif
#endif
private
:
private
:
...
...
...
...
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