Changeset 039edd2a in rtems


Ignore:
Timestamp:
Apr 13, 2017, 12:12:31 PM (3 years ago)
Author:
Martin Aberg <maberg@…>
Branches:
master
Children:
aa19873
Parents:
ee078c21
git-author:
Martin Aberg <maberg@…> (04/13/17 12:12:31)
git-committer:
Daniel Hellstrom <daniel@…> (05/14/17 10:31:59)
Message:

leon, grcan: removed unused txerror, rxerror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/can/grcan.c

    ree078c21 r039edd2a  
    150150        int txblock, rxblock;
    151151        int txcomplete, rxcomplete;
    152         int txerror, rxerror;
    153152
    154153        struct grcan_filter sfilter;
     
    458457        IRQ_UNMASK(pDev->irq + GRCAN_IRQ_IRQ);
    459458        SPIN_UNLOCK_IRQ(&pDev->devlock, oldLevel);
    460 
    461         /* Reset some software data */
    462         /*pDev->txerror = 0;
    463            pDev->rxerror = 0; */
    464459
    465460        /* Enable receiver/transmitter */
     
    15201515                }
    15211516
    1522                 if ( pDev->txerror ){
    1523                         /* Return number of bytes sent, compare write pointers */
    1524                         pDev->txerror = 0;
    1525 #if 0
    1526 #error HANDLE AMBA error
    1527 #endif
    1528                 }
    1529 
    15301517                /* Try read bytes from circular buffer */
    15311518                nwritten = grcan_hw_write_try(
Note: See TracChangeset for help on using the changeset viewer.