Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit be8ad40

Browse files
authored
Return ERROR_ALLTXBUSY when three TX buffers are all busy
1 parent 9ecc5a8 commit be8ad40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp2515.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ MCP2515::ERROR MCP2515::sendMessage(const struct can_frame *frame)
610610
}
611611
}
612612

613-
return ERROR_FAILTX;
613+
return ERROR_ALLTXBUSY;
614614
}
615615

616616
MCP2515::ERROR MCP2515::readMessage(const RXBn rxbn, struct can_frame *frame)

0 commit comments

Comments
 (0)