Skip to content

Commit

Permalink
Just rename of internal variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttlappalainen committed Mar 29, 2020
1 parent 3b25531 commit 53cf6ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NMEA2000_mcp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ void tNMEA2000_mcp::InterruptHandler() {
//N2kCAN.readMsgBuf(&len,buf);
//id=N2kCAN.getCanId();
//pRxBuffer->AddFrame(id,len,buf);
} else { // Buffer full, skip char
tCANFrame MissFrame;
} else { // Buffer full, skip frame
tCANFrame FrameToSkip;
byte ext,rtr;
N2kCAN.readMsgBufID(status,&(MissFrame.id),&ext,&rtr,&(MissFrame.len),MissFrame.buf);
N2kCAN.readMsgBufID(status,&(FrameToSkip.id),&ext,&rtr,&(FrameToSkip.len),FrameToSkip.buf);
}
}

Expand Down

0 comments on commit 53cf6ea

Please sign in to comment.