Skip to content

Commit

Permalink
Modified CAN interface to retry message sending on loss of arbitration
Browse files Browse the repository at this point in the history
  • Loading branch information
morcibacsi committed Jul 10, 2021
1 parent a29ba9d commit 1cde4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSAVanCanBridge/src/Can/CanMessageSenderEsp32Idf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ uint8_t CanMessageSenderEsp32Idf::SendMessage(uint16_t canId, uint8_t ext, uint8

can_message_t message;
message.identifier = canId;
message.flags = CAN_MSG_FLAG_SS;
message.flags = CAN_MSG_FLAG_NONE;
message.data_length_code = sizeOfByteArray;
for (int i = 0; i < sizeOfByteArray; i++) {
message.data[i] = byteArray[i];
Expand Down

0 comments on commit 1cde4b1

Please sign in to comment.