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
6ed2bf63
Commit
6ed2bf63
authored
5 years ago
by
Jason Smith
Committed by
Scott Lahteine
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix FILAMENT_RUNOUT_SCRIPT without ADVANCED_PAUSE_FEATURE build (#15313)
parent
514223f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/feature/runout.h
+5
-1
5 additions, 1 deletion
Marlin/src/feature/runout.h
with
5 additions
and
1 deletion
Marlin/src/feature/runout.h
+
5
−
1
View file @
6ed2bf63
...
@@ -98,7 +98,11 @@ class TFilamentMonitor : public FilamentMonitorBase {
...
@@ -98,7 +98,11 @@ class TFilamentMonitor : public FilamentMonitorBase {
// Give the response a chance to update its counter.
// Give the response a chance to update its counter.
static
inline
void
run
()
{
static
inline
void
run
()
{
if
(
enabled
&&
!
filament_ran_out
&&
(
IS_SD_PRINTING
()
||
print_job_timer
.
isRunning
()
||
did_pause_print
))
{
if
(
enabled
&&
!
filament_ran_out
&&
(
IS_SD_PRINTING
()
||
print_job_timer
.
isRunning
()
#if ENABLED(ADVANCED_PAUSE_FEATURE)
||
did_pause_print
#endif
))
{
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
cli
();
// Prevent RunoutResponseDelayed::block_completed from accumulating here
cli
();
// Prevent RunoutResponseDelayed::block_completed from accumulating here
#endif
#endif
...
...
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