Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
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
Printrun
Commits
d73709ff
Commit
d73709ff
authored
Jun 29, 2012
by
kliment
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #252 from ajd4096/experimental
printcore - send the initial M105 using _send instead of send_now
parents
0ae7e1fe
1a670029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
printcore.py
printcore.py
+2
-1
No files found.
printcore.py
View file @
d73709ff
...
@@ -90,7 +90,8 @@ class printcore():
...
@@ -90,7 +90,8 @@ class printcore():
"""
"""
self
.
clear
=
True
self
.
clear
=
True
time
.
sleep
(
1.0
)
time
.
sleep
(
1.0
)
self
.
send_now
(
"M105"
)
if
(
not
self
.
online
and
not
self
.
printing
):
self
.
_send
(
"M105"
)
while
(
True
):
while
(
True
):
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
break
break
...
...
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