We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9908056 commit c8ec1beCopy full SHA for c8ec1be
can/interfaces/pcan/basic.py
@@ -545,6 +545,10 @@ def __init__(self):
545
logger.error("Exception: The PEAK-driver couldn't be found!")
546
finally:
547
winreg.CloseKey(aReg)
548
+ elif "CYGWIN" in platform.system():
549
+ self.__m_dllBasic = cdll.LoadLibrary("PCANBasic.dll")
550
+ # Unfortunately cygwin python has no winreg module, so we can't
551
+ # check for the registry key.
552
elif platform.system() == "Darwin":
553
self.__m_dllBasic = cdll.LoadLibrary("libPCBUSB.dylib")
554
else:
0 commit comments