Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
c106d084
Commit
c106d084
authored
Apr 21, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FILAMENTCHANGE_PRINTEROFF
Time for put off the printer during filament change
parent
a371a057
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Configuration_adv.h
MarlinKimbra/Configuration_adv.h
+1
-0
Marlin_main.cpp
MarlinKimbra/Marlin_main.cpp
+2
-2
No files found.
MarlinKimbra/Configuration_adv.h
View file @
c106d084
...
...
@@ -382,6 +382,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#define FILAMENTCHANGE_ZADD 10
#define FILAMENTCHANGE_FIRSTRETRACT -2
#define FILAMENTCHANGE_FINALRETRACT -100
#define FILAMENTCHANGE_PRINTEROFF 5 // Minutes
#endif
#endif
...
...
MarlinKimbra/Marlin_main.cpp
View file @
c106d084
...
...
@@ -5374,8 +5374,8 @@ inline void gcode_M503() {
manage_heater
();
manage_inactivity
(
true
);
lcd_update
();
if
(
timer
.
check
()
&&
cnt
<=
5
)
beep
=
true
;
if
(
cnt
>=
5
&&
!
sleep
)
{
if
(
timer
.
check
()
&&
cnt
<=
FILAMENTCHANGE_PRINTEROFF
)
beep
=
true
;
if
(
cnt
>=
FILAMENTCHANGE_PRINTEROFF
&&
!
sleep
)
{
disable_all_heaters
();
disable_x
();
disable_y
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment