Auto commit at 2025-06-14 13:02:31
This commit is contained in:
parent
b56d7e2f98
commit
64e7951fb4
@ -129,7 +129,7 @@ void CANDriver::receiveThreadFunc()
|
||||
ULONG len = 0;
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(canMutex); // 加锁
|
||||
len = VCI_Receive(deviceType, deviceIndex, channelIndex, rec, 100, 10);
|
||||
len = VCI_Receive(deviceType, deviceIndex, channelIndex, rec, maxFrames, 10);
|
||||
}
|
||||
|
||||
if (len == 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user