Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ixxat bus refactor to use VCI4 driver only #1611

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
4 changes: 3 additions & 1 deletion can/ctypesutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ def map_symbol(

if sys.platform == "win32":
HRESULT = ctypes.HRESULT

elif sys.platform == "cygwin":

class HRESULT(ctypes.c_long):
pass

else:
HRESULT = None


# Common win32 definitions
class HANDLE(ctypes.c_void_p):
Expand Down
14 changes: 7 additions & 7 deletions can/interfaces/ixxat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"""

__all__ = [
"IXXATBus",
"canlib",
"canlib_vcinpl",
"canlib_vcinpl2",
"constants",
"CyclicSendTask",
"exceptions",
"get_ixxat_hwids",
"IXXATBus",
"structures",
]

from can.interfaces.ixxat.canlib import IXXATBus

# import this and not the one from vcinpl2 for backward compatibility
from can.interfaces.ixxat.canlib_vcinpl import get_ixxat_hwids
from can.interfaces.ixxat.canlib import ( # noqa: F401
CyclicSendTask,
IXXATBus,
get_ixxat_hwids,
)