From 064cb6c10878658325dfa22da0bb6be3f573a124 Mon Sep 17 00:00:00 2001 From: zhanglinjing Date: Tue, 22 Oct 2024 19:51:09 +0200 Subject: [PATCH] Fix: add missing semicolon --- libraries/CAN/src/CANXMC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/CAN/src/CANXMC.cpp b/libraries/CAN/src/CANXMC.cpp index e0b96747..91ab1ff5 100644 --- a/libraries/CAN/src/CANXMC.cpp +++ b/libraries/CAN/src/CANXMC.cpp @@ -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; }; /**