Update mcp_can.cpp

This commit is contained in:
Martin
2016-06-03 11:27:31 +02:00
parent f5dcdfbae8
commit f9423ab450
+1
View File
@@ -597,6 +597,7 @@ INT8U MCP_CAN::begin(INT8U speedset)
{
INT8U res;
SPI.begin();
res = mcp2515_init(speedset);
if (res == MCP2515_OK) return CAN_OK;
else return CAN_FAILINIT;