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
7907eec0
Commit
7907eec0
authored
May 17, 2019
by
GUEST.it
Committed by
Scott Lahteine
May 17, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Fix power loss recovery with SINGLENOZZLE (#14033)
parent
efe651e7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/src/feature/power_loss_recovery.cpp
+5
-5
5 additions, 5 deletions
Marlin/src/feature/power_loss_recovery.cpp
Marlin/src/feature/power_loss_recovery.h
+2
-2
2 additions, 2 deletions
Marlin/src/feature/power_loss_recovery.h
with
7 additions
and
7 deletions
Marlin/src/feature/power_loss_recovery.cpp
+
5
−
5
View file @
7907eec0
...
...
@@ -170,8 +170,8 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
#endif
info
.
feedrate
=
uint16_t
(
feedrate_mm_s
*
60.0f
);
#if
HOTEND
S > 1
info
.
active_
hotend
=
active_extruder
;
#if
EXTRUDER
S > 1
info
.
active_
extruder
=
active_extruder
;
#endif
HOTEND_LOOP
()
info
.
target_temperature
[
e
]
=
thermalManager
.
temp_hotend
[
e
].
target
;
...
...
@@ -282,7 +282,7 @@ void PrintJobRecovery::resume() {
// Select the previously active tool (with no_move)
#if EXTRUDERS > 1
sprintf_P
(
cmd
,
PSTR
(
"T%i S"
),
info
.
active_
hotend
);
sprintf_P
(
cmd
,
PSTR
(
"T%i S"
),
info
.
active_
extruder
);
gcode
.
process_subcommands_now
(
cmd
);
#endif
...
...
@@ -443,8 +443,8 @@ void PrintJobRecovery::resume() {
DEBUG_ECHOLNPAIR
(
"feedrate: "
,
info
.
feedrate
);
#if
HOTEND
S > 1
DEBUG_ECHOLNPAIR
(
"active_
hotend
: "
,
int
(
info
.
active_
hotend
));
#if
EXTRUDER
S > 1
DEBUG_ECHOLNPAIR
(
"active_
extruder
: "
,
int
(
info
.
active_
extruder
));
#endif
DEBUG_ECHOPGM
(
"target_temperature: "
);
...
...
...
...
This diff is collapsed.
Click to expand it.
Marlin/src/feature/power_loss_recovery.h
+
2
−
2
View file @
7907eec0
...
...
@@ -51,8 +51,8 @@ typedef struct {
uint16_t
feedrate
;
#if
HOTEND
S > 1
uint8_t
active_
hotend
;
#if
EXTRUDER
S > 1
uint8_t
active_
extruder
;
#endif
int16_t
target_temperature
[
HOTENDS
];
...
...
...
...
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