diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-20 22:59:38 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-20 22:59:38 +0000 |
commit | 34710372a365db94f156bfd0f1740aff246f765e (patch) | |
tree | 3b10574fbd258af9bffd0bebb027275a5e8c9377 | |
parent | 7b2fab365ecf534b80347dcc8e9a872b1c25d111 (diff) | |
download | pyserial-34710372a365db94f156bfd0f1740aff246f765e.tar.gz |
fix CHAR type (bug introduces in last change to this file)
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@419 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r-- | serial/tools/list_ports_windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/tools/list_ports_windows.py b/serial/tools/list_ports_windows.py index f17db07..a18095b 100644 --- a/serial/tools/list_ports_windows.py +++ b/serial/tools/list_ports_windows.py @@ -10,7 +10,6 @@ NULL = 0 from serial.win32 import ULONG_PTR
from ctypes.wintypes import HANDLE
from ctypes.wintypes import BOOL
-from ctypes.wintypes import CHAR
from ctypes.wintypes import HWND
from ctypes.wintypes import DWORD
from ctypes.wintypes import WORD
@@ -27,6 +26,7 @@ from ctypes.wintypes import HKEY HDEVINFO = ctypes.c_int
PCTSTR = ctypes.c_char_p
+CHAR = ctypes.c_char
ACCESS_MASK = DWORD
REGSAM = ACCESS_MASK
|