mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-07-28 04:06:45 +00:00
Merge pull request #12 from BlueAndi/patch-1
Missing return statements added
This commit is contained in:
+2
-2
@@ -781,7 +781,7 @@ INT8U MCP_CAN::sendMsg()
|
||||
INT8U MCP_CAN::sendMsgBuf(INT32U id, INT8U ext, INT8U rtr, INT8U len, INT8U *buf)
|
||||
{
|
||||
setMsg(id, ext, len, rtr, buf);
|
||||
sendMsg();
|
||||
return sendMsg();
|
||||
}
|
||||
|
||||
/*********************************************************************************************************
|
||||
@@ -791,7 +791,7 @@ INT8U MCP_CAN::sendMsgBuf(INT32U id, INT8U ext, INT8U rtr, INT8U len, INT8U *buf
|
||||
INT8U MCP_CAN::sendMsgBuf(INT32U id, INT8U ext, INT8U len, INT8U *buf)
|
||||
{
|
||||
setMsg(id, ext, len, buf);
|
||||
sendMsg();
|
||||
return sendMsg();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user