Skip to content

Commit

Permalink
Fixed #112
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoux committed Jul 17, 2018
1 parent 43bd68f commit 5ae50ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avaspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def callback(self, handle, error):
# please use AVS_Measure instead using Windows messaging or polling

def AVS_MeasureCallback(handle, func, nummeas):
CBTYPE = ctypes.CFUNCTYPE(None, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int))
CBTYPE = ctypes.WINFUNCTYPE(None, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int))
lib = ctypes.WinDLL("avaspecx64.dll")
prototype = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_int, CBTYPE, ctypes.c_uint16)
paramflags = (1, "handle",), (1, "adres",), (1, "nummeas"),
Expand Down

0 comments on commit 5ae50ca

Please sign in to comment.