This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
alarmdecoder
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixed a potential timer issue.
pyserial_fix
Scott Petersen
11 years ago
parent
00dc772dfd
commit
11e1735820
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
pyad2usb/devices.py
+ 2
- 0
pyad2usb/devices.py
View File
@@ -428,6 +428,8 @@ class SerialDevice(Device):
time.sleep(0.001)
except (OSError, serial.SerialException), err:
timer.cancel()
raise util.CommError('Error reading from AD2SERIAL device: {0}'.format(str(err)))
else:
if got_line:
Write
Preview
Loading…
Cancel
Save