mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-09-15 02:52:53 +00:00
removed unecessary lines
This commit is contained in:
+2
-2
@@ -534,8 +534,8 @@ void MCP_CAN::mcp2515_write_canMsg(const byte buffer_sidh_addr, int rtrBit)
|
||||
byte mcp_addr;
|
||||
mcp_addr = buffer_sidh_addr;
|
||||
mcp2515_setRegisterS(mcp_addr+5, dta, dta_len); // write data bytes
|
||||
Serial.print("RTR: ");
|
||||
Serial.println(rtrBit);
|
||||
// Serial.print("RTR: ");
|
||||
// Serial.println(rtrBit);
|
||||
if(rtrBit == 1) // if RTR set bit in byte
|
||||
{
|
||||
dta_len |= MCP_RTR_MASK;
|
||||
|
||||
Reference in New Issue
Block a user