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
ad21eefe
Commit
ad21eefe
authored
Nov 12, 2011
by
Keegi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote branch 'kliment/master' into experimental
parents
9a7baf64
5cd0e23e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pronterface.py
pronterface.py
+1
-1
zbuttons.py
zbuttons.py
+1
-1
No files found.
pronterface.py
View file @
ad21eefe
...
...
@@ -411,7 +411,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
uts
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"@"
,
pos
=
(
250
,
5
)),
wx
.
RIGHT
,
5
)
self
.
baud
=
wx
.
ComboBox
(
self
.
panel
,
-
1
,
choices
=
[
"2400"
,
"9600"
,
"19200"
,
"38400"
,
"57600"
,
"115200"
,
"250000"
],
style
=
wx
.
CB_DROPDOWN
|
wx
.
CB_
SORT
|
wx
.
CB_
READONLY
,
size
=
(
110
,
30
),
pos
=
(
275
,
0
))
style
=
wx
.
CB_DROPDOWN
|
wx
.
CB_READONLY
,
size
=
(
110
,
30
),
pos
=
(
275
,
0
))
try
:
self
.
baud
.
SetValue
(
"115200"
)
self
.
baud
.
SetValue
(
str
(
self
.
settings
.
baudrate
))
...
...
zbuttons.py
View file @
ad21eefe
...
...
@@ -10,7 +10,7 @@ def sign(n):
else
:
return
0
class
ZButtons
(
BufferedCanvas
):
button_ydistances
=
[
7
,
30
,
55
,
83
,
112
]
button_ydistances
=
[
7
,
30
,
55
,
83
]
# ,112
center
=
(
30
,
118
)
label_overlay_positions
=
{
0
:
(
1
,
18
,
11
),
...
...
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