X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=pyfrprog.git;a=blobdiff_plain;f=frprog.py;fp=frprog.py;h=0ca52c57de1fd788e5b06f4af00be107e0549c6d;hp=41a5385427eb827f264a229bd20e3c562ef71478;hb=3853f618d9e80f804be48fddb61662fd8efe6b7c;hpb=c401f57d8adf30f29f16efd9a073b3a92911a0d8 diff --git a/frprog.py b/frprog.py index 41a5385..0ca52c5 100755 --- 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..."