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
def4bb98
Commit
def4bb98
authored
5 years ago
by
BigIronGuru
Committed by
Scott Lahteine
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reset, stow BLTouch before mode change (#14368)
parent
78557076
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/src/feature/bltouch.cpp
+3
-3
3 additions, 3 deletions
Marlin/src/feature/bltouch.cpp
with
3 additions
and
3 deletions
Marlin/src/feature/bltouch.cpp
+
3
−
3
View file @
def4bb98
...
@@ -53,6 +53,9 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
...
@@ -53,6 +53,9 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
// This mode will stay active until manual SET_OD_MODE or power cycle
// This mode will stay active until manual SET_OD_MODE or power cycle
// BLTOUCH V3.1: SET_5V_MODE or SET_OD_MODE (if enabled).
// BLTOUCH V3.1: SET_5V_MODE or SET_OD_MODE (if enabled).
// At power on, the probe will default to the eeprom settings configured by the user
// At power on, the probe will default to the eeprom settings configured by the user
_reset
();
_stow
();
#if ENABLED(BLTOUCH_FORCE_MODE_SET)
#if ENABLED(BLTOUCH_FORCE_MODE_SET)
constexpr
bool
should_set
=
true
;
constexpr
bool
should_set
=
true
;
...
@@ -84,9 +87,6 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
...
@@ -84,9 +87,6 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
||
true
||
true
#endif
#endif
));
));
_reset
();
_stow
();
}
}
void
BLTouch
::
clear
()
{
void
BLTouch
::
clear
()
{
...
...
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