]> rtime.felk.cvut.cz Git - arc.git/commitdiff
GCC compilation bug when using canHw->TIER |= BM_TX0
authorjcar <devnull@localhost>
Thu, 13 Dec 2012 10:49:51 +0000 (11:49 +0100)
committerjcar <devnull@localhost>
Thu, 13 Dec 2012 10:49:51 +0000 (11:49 +0100)
arch/hc1x/hcs12d/drivers/Can.c

index cd7ea181541f3940cea287221d9a1eaff7abdcce..7c8720043a00bfaa754f757bc63afdd30c0c3f58 100644 (file)
@@ -969,7 +969,7 @@ Can_ReturnType Can_Write( Can_Arc_HTHType hth, Can_PduType *pduInfo ) {
     if( (canHwConfig->CanTxProcessing == CAN_ARC_PROCESS_TYPE_INTERRUPT) &&\r
         (canUnit->lock_cnt == 0) ) {\r
          /* Turn on the tx interrupt mailboxes */\r
-      canHw->TIER |= BM_TX0; // We only use TX0\r
+      canHw->TIER = BM_TX0; // We only use TX0\r
     }\r
 \r
     // Increment statistics\r