Обновление
This commit is contained in:
parent
97954edfd6
commit
d03d12d051
|
|
@ -1071,7 +1071,7 @@ const xcp_func_ptr fXcp_func_ptr[256] = {
|
|||
uint8_t vCanSerialPortFrameXcpReceive(tCanSerialPortFrameXCP *env, uint32 timeout) {
|
||||
uint8_t response_size = 0;
|
||||
|
||||
uint16_t recv = env->ioCanFrame->receive(env->ioCanFrame->env, PROTOCOL_XCP, (uint8_t *) &env->canFrame, 1,
|
||||
uint16_t recv = env->ioCanFrame->receive(env->ioCanFrame->env, PROTOCOL_CAN_XCP, (uint8_t *) &env->canFrame, 1,
|
||||
timeout);
|
||||
|
||||
if (recv == 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue