aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c12
1 files changed, 6 insertions, 6 deletions
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