projects
/
pyfrprog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty must be global
[pyfrprog.git]
/
frprog.py
diff --git
a/frprog.py
b/frprog.py
index 41a5385427eb827f264a229bd20e3c562ef71478..0ca52c57de1fd788e5b06f4af00be107e0549c6d 100755
(executable)
--- a/
frprog.py
+++ b/
frprog.py
@@
-199,6
+199,7
@@
def main(argv=None):
return 1
print "Initializing serial port..."
+ global tty
tty = SerialPort(DEVICE, 100, INIT_BAUDRATE)
print "Please press RESET on your board..."