From dd84d3ff28816a22a911bb26b435026b728676db Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Sun, 07 Aug 2022 21:42:44 +0800 Subject: [PATCH] 针对B41V修改 --- USBCAN.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/USBCAN.py b/USBCAN.py index 42ee2d2..45bfe07 100644 --- a/USBCAN.py +++ b/USBCAN.py @@ -423,7 +423,7 @@ def Receive(self, len=10, timeout=None): raw_message = (VCI_CAN_OBJ * len)() - timeout = -1 if timeout is None else c_int(timeout * 1000) + timeout = -1 if timeout is None else c_int(timeout) msg = list() rtn = USBCAN_DLL.VCI_Receive(self.device, self.device_index, self.channel, -- Gitblit v1.8.0