From 91ab8ccb0b91384b9371b8d101eb35afe00448db Mon Sep 17 00:00:00 2001 From: acirillo87 Date: Sat, 20 Jul 2013 08:09:05 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6003 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'os/hal/platforms') diff --git a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c index 7d9ce4ebb..d15f1856e 100644 --- a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c +++ b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c @@ -90,37 +90,37 @@ static void can_lld_tx_handler(CANDriver *canp) { #if SPC5_CAN_USE_FLEXCAN0 && (SPC5_FLEXCAN0_MB == 64) if(&CAND1 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif #if SPC5_CAN_USE_FLEXCAN1 && (SPC5_FLEXCAN1_MB == 64) if(&CAND2 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif #if SPC5_CAN_USE_FLEXCAN2 && (SPC5_FLEXCAN2_MB == 64) if(&CAND3 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif #if SPC5_CAN_USE_FLEXCAN3 && (SPC5_FLEXCAN3_MB == 64) if(&CAND4 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif #if SPC5_CAN_USE_FLEXCAN4 && (SPC5_FLEXCAN4_MB == 64) if(&CAND5 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif #if SPC5_CAN_USE_FLEXCAN5 && (SPC5_FLEXCAN5_MB == 64) if(&CAND6 == canp) { iflag2 = canp->flexcan->IFRH.R; - canp->flexcan->IFRH.R = canp->flexcan->IFRH.R & 0xFFFFFFFF; + canp->flexcan->IFRH.R = canp->flexcan->IFRH.R; } #endif -- cgit v1.2.3