You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason; This function is intended for setting a 2 bit field to one of 4 values, so the mask parameter should be constructed from two single bit masks. Looks like a typo / copy/paste error.
The text was updated successfully, but these errors were encountered:
On line 508 of mcp2515.c;
can_w_bit(MCP2515_RXB0CTRL + rxb*0x10, MCP2515_RXB0CTRL_RXM0 | MCP2515_RXB0CTRL_RXM0, mode);
Should be;
can_w_bit(MCP2515_RXB0CTRL + rxb*0x10, MCP2515_RXB0CTRL_RXM1 | MCP2515_RXB0CTRL_RXM0, mode);
Reason; This function is intended for setting a 2 bit field to one of 4 values, so the mask parameter should be constructed from two single bit masks. Looks like a typo / copy/paste error.
The text was updated successfully, but these errors were encountered: