removed unecessary lines

This commit is contained in:
Gage Coprivnicar
2017-06-22 13:41:16 -06:00
parent 411eadba05
commit 6be2ba4b1d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -123,7 +123,7 @@ public:
byte init_Mask(byte num, byte ext, unsigned long ulData); // init Masks
byte init_Filt(byte num, byte ext, unsigned long ulData); // init filters
byte sendMsgBuf(unsigned long id, byte ext, byte rtr, byte len, byte *buf); // send buf
// byte sendMsgBuf(unsigned long id, byte ext, byte len, byte *buf); // send buf
byte sendMsgBuf(unsigned long id, byte ext, byte len, byte *buf); // send buf
byte readMsgBuf(byte *len, byte *buf); // read buf
byte readMsgBufID(unsigned long *ID, byte *len, byte *buf); // read buf with object ID
byte checkReceive(void); // if something received