*use hardware only TX/RX loop flag ( fix unneeded TX echo )

This commit is contained in:
Roman Ilichev 2021-10-25 18:32:58 +03:00
parent 7b0d4b4096
commit ddae76df32
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ int pcan_protocol_tx_frame( struct ucan_tx_msg *pmsg )
msg.flags |= MSG_FLAG_RTR;
if( pmsg->flags & UCAN_MSG_EXT_ID )
msg.flags |= MSG_FLAG_EXT;
if( pmsg->flags & (UCAN_MSG_API_SRR|UCAN_MSG_HW_SRR) )
if( pmsg->flags & (/*UCAN_MSG_API_SRR|*/UCAN_MSG_HW_SRR) )
{
msg.flags |= MSG_FLAG_ECHO;
msg.dummy = pmsg->client;