Skip to content

Commit

Permalink
Update CAN_read.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
autowp committed Apr 12, 2016
1 parent aa3d684 commit fd638a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CAN_read/CAN_read.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void setup() {

void loop() {

if (mcp2515.readMessage(&canMsg) == MCP_CAN::ERROR_OK) {
if (mcp2515.readMessage(&canMsg) == MCP2515::ERROR_OK) {

Serial.print(canMsg.can_id, HEX); // print ID
Serial.print(" ");
Expand Down

0 comments on commit fd638a1

Please sign in to comment.