Skip to content

Commit 72a6877

Browse files
authored
Merge pull request #32 from jxltom/jxltom-patch-1
Remove unused variables
2 parents a00d5db + 1fee7bd commit 72a6877

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mcp2515.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,6 @@ MCP2515::ERROR MCP2515::setBitrate(const CAN_SPEED canSpeed, CAN_CLOCK canClock)
478478

479479
MCP2515::ERROR MCP2515::setClkOut(const CAN_CLKOUT divisor)
480480
{
481-
ERROR res;
482-
uint8_t cfg3;
483-
484481
if (divisor == CLKOUT_DISABLE) {
485482
/* Turn off CLKEN */
486483
modifyRegister(MCP_CANCTRL, CANCTRL_CLKEN, 0x00);

0 commit comments

Comments
 (0)