diff options
author | acirillo87 <acirillo87@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 08:09:05 +0000 |
---|---|---|
committer | acirillo87 <acirillo87@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 08:09:05 +0000 |
commit | 91ab8ccb0b91384b9371b8d101eb35afe00448db (patch) | |
tree | b3fde11cc4573d9b61a774f856e54000b821cd5f /os | |
parent | fa79b4e8a66a5343ab0e97b44ec3dfeca823d1f1 (diff) | |
download | ChibiOS-91ab8ccb0b91384b9371b8d101eb35afe00448db.tar.gz ChibiOS-91ab8ccb0b91384b9371b8d101eb35afe00448db.tar.bz2 ChibiOS-91ab8ccb0b91384b9371b8d101eb35afe00448db.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6003 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c | 12 |
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
|