Skip to content

Commit

Permalink
Fix CAN Test (MBED_30)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelse committed Aug 6, 2013
1 parent bf02700 commit 714daff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/tests/mbed/can/main.cpp
Expand Up @@ -31,7 +31,7 @@ int main() {
CANMessage msg;
while(1) {
printf("loop()\n");
if(can1.read(msg)) {
if(can2.read(msg)) {
printmsg("Rx message:", &msg);
led2 = !led2;
}
Expand Down

0 comments on commit 714daff

Please sign in to comment.