mcp2515.cpp
// Strips the extended and RTR flags from the frame, updates the frame 
// ID field to be a standard ID, withotu the flags   
Strips the extended and RTR flags from the frame, updates the frame
ID field to be a standard ID, withotu the flags
Strips the extended and RTR flags from the frame updates the frame ID field to be a standard ID withotu the flags
MCP2515::ERROR MCP2515::stripFlags(struct can_frame *frame) {
    frame->can_id &= 0x3FFFFF;   
    return ERROR_OK;
}
MCP2515 :: ERROR MCP2515 :: stripFlags ( struct can_frame * frame ) { frame -> can_id &= 0x3FFFFF ; return ERROR_OK ; }
Strips the extended and RTR flags from the frame, updates the frame
ID field to be a standard ID, withotu the flags
Strips the extended and RTR flags from the frame updates the frame ID field to be a standard ID withotu the flags
// strips the 2 msbs // RTR flag is 0x40000000 or 0100 ... so we need to strip it with an AND 