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
3731e91d
Commit
3731e91d
authored
Jun 01, 2011
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix temp reading detection for non-Sprinter firmwares.
parent
f00a0081
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
pronsole.py
pronsole.py
+2
-4
No files found.
pronsole.py
View file @
3731e91d
...
...
@@ -251,14 +251,13 @@ class pronsole(cmd.Cmd):
self
.
recvlisteners
+=
[
self
.
listfiles
]
self
.
p
.
send_now
(
"M20"
)
time
.
sleep
(
0.5
)
self
.
p
.
startprint
([])
print
"
\b\b\b\b\b
100
%
. Upload completed. "
,
tname
,
" should now be on the card."
return
except
:
print
"...interrupted!"
self
.
p
.
pause
()
self
.
p
.
send_now
(
"M29 "
+
tname
)
self
.
sleep
(
0.2
)
time
.
sleep
(
0.2
)
self
.
p
.
clear
=
1
self
.
p
.
startprint
([])
print
"A partial file named "
,
tname
,
" may have been written to the sd card."
...
...
@@ -412,7 +411,7 @@ class pronsole(cmd.Cmd):
return
[
i
for
i
in
self
.
sdfiles
if
i
.
startswith
(
text
)]
def
recvcb
(
self
,
l
):
if
"
ok
T:"
in
l
:
if
"T:"
in
l
:
self
.
tempreadings
=
l
for
i
in
self
.
recvlisteners
:
i
(
l
)
...
...
@@ -693,7 +692,6 @@ class pronsole(cmd.Cmd):
self
.
do_load
(
l
[
0
]
.
replace
(
".stl"
,
"_export.gcode"
))
except
:
print
"Skeinforge execution failed."
raise
def
complete_skein
(
self
,
text
,
line
,
begidx
,
endidx
):
s
=
line
.
split
()
...
...
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