Skip to content

Commit

Permalink
Fix: add missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
LinjingZhang committed Oct 22, 2024
1 parent ea52721 commit 064cb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/CAN/src/CANXMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ int CANXMC::loopback() {
*/
int CANXMC::sleep() {
CAN_xmc->CLC |= CAN_CLC_EDIS_Msk;
return CAN_xmc->CLC & CAN_CLC_EDIS_Msk != 0 ? 1 : 0
return CAN_xmc->CLC & CAN_CLC_EDIS_Msk != 0 ? 1 : 0;
};

/**
Expand Down

0 comments on commit 064cb6c

Please sign in to comment.