Skip to content

Commit db6a539

Browse files
committed
Example updated.
1 parent 986ffe0 commit db6a539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Sparkfun_CAN-BUS_Shield/Sparkfun_CAN-BUS_Shield.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ bool transportWrite(vscp_TxMessage const * const txMsg) {
114114
}
115115

116116
// Send CAN message
117-
if (MCP2515::ERROR_OK == mcp2515.sendMessage(canMsg)) {
117+
if (MCP2515::ERROR_OK == mcp2515.sendMessage(&canMsg)) {
118118

119119
// CAN message couldn't be sent, try again.
120120
++retryCnt;

0 commit comments

Comments
 (0)