aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c
index a7205231e..d8bda8da2 100644
--- a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c
+++ b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c
@@ -81,6 +81,7 @@ CANDriver CAND6;
*/
static void can_lld_tx_handler(CANDriver *canp) {
uint32_t iflag1, iflag2;
+ (void)iflag2;
/* No more events until a message is transmitted.*/
iflag1 = canp->flexcan->IFRL.R;