Closed this issue 4 years ago · 1 comments
Shouldn't the call reference buf, and not buffer?
uint32_t id; uint8_t len; uint8_t buf[8]; <<=== uint8_t i; ret = can.readMsgBuf(id, len, buffer); <<===
Yes, in fact it should be:
ret = can.readMsgBuf(&id, &len, buf);