summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-07-22 00:48:57 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-07-22 00:48:57 +0000
commit757a9e1ee5aee12bbb782391dba9f2fc9acddca7 (patch)
treed8ed862fab78aefc57e8c723b87de9e23086a058
parent65c8eefe791c4081de6469e4be4d2efbbdcf4f1b (diff)
downloadpyserial-757a9e1ee5aee12bbb782391dba9f2fc9acddca7.tar.gz
add missing stop bit constant
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@229 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r--serial/serialutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/serialutil.py b/serial/serialutil.py
index fc92fa1..f9c53f2 100644
--- a/serial/serialutil.py
+++ b/serial/serialutil.py
@@ -118,7 +118,7 @@ class SerialBase(FileLike):
1000000,1152000,1500000,2000000,2500000,3000000,3500000,4000000)
BYTESIZES = (FIVEBITS, SIXBITS, SEVENBITS, EIGHTBITS)
PARITIES = (PARITY_NONE, PARITY_EVEN, PARITY_ODD, PARITY_MARK, PARITY_SPACE)
- STOPBITS = (STOPBITS_ONE, STOPBITS_TWO)
+ STOPBITS = (STOPBITS_ONE, STOPBITS_ONE_POINT_FIVE, STOPBITS_TWO)
def __init__(self,
port = None, # number of device, numbering starts at