projects
/
pyfrprog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
010ec00
)
Merge branch 'master' of wien.tomnetworks.com:pyfrprog
author
Bernhard Urban
<lewurm@gmx.net>
Mon, 14 Dec 2009 08:47:29 +0000
(09:47 +0100)
committer
Bernhard Urban
<lewurm@gmx.net>
Mon, 14 Dec 2009 08:47:29 +0000
(09:47 +0100)
pkernel/kernel.py
patch
|
blob
|
history
diff --git
a/pkernel/kernel.py
b/pkernel/kernel.py
index 576c6807fa11f95d6c52418985579da38ec19eb0..afadfcd4662e95c9a81625ed1cb75479b20ccbb5 100755
(executable)
--- a/
pkernel/kernel.py
+++ b/
pkernel/kernel.py
@@
-9,9
+9,6
@@
KERNEL_BAUDRATE=38400
def recvByte():
i = tty.read()
- while len(i)==0:
- time.sleep(0.03)
- i = tty.read()
return ord(i)
def recvByteTO(b): #with timeout
@@
-90,7
+87,7
@@
flashseqs = []
print "Initializing serial port..."
-tty = SerialPort(DEVICE,
0
, KERNEL_BAUDRATE)
+tty = SerialPort(DEVICE,
None
, KERNEL_BAUDRATE)
# check command line arguments
if len(sys.argv) != 2: