Changeset b151f5b in rtems


Ignore:
Timestamp:
Sep 19, 2007, 3:15:15 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1966665
Parents:
74a65e47
Message:

2007-09-19 Daniel Hellstrom <daniel@…>

  • shared/can/occan.c: Fix Reenable command and fix typo.
Location:
c/src/lib/libbsp/sparc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/ChangeLog

    r74a65e47 rb151f5b  
     12007-09-19      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * shared/can/occan.c: Fix Reenable command and fix typo.
     4
    152007-09-18      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/sparc/shared/can/occan.c

    r74a65e47 rb151f5b  
    16261626                       
    16271627                        /* Re-Enable RX buffer for a new message */
    1628                         regs->cmd = READ_REG(&regs->cmd) | PELICAN_CMD_RELRXBUF;
     1628                        regs->cmd = PELICAN_CMD_RELRXBUF;
    16291629                       
    16301630                        /* make message available to the user */
     
    17271727                        rx_error_cnt = READ_REG(&regs->rx_err_cnt);
    17281728                       
    1729                         if ( (tx_error_cnt > 127) || (tx_error_cnt > 127) ){
     1729                        if ( (tx_error_cnt > 127) || (rx_error_cnt > 127) ){
    17301730                                can->status |= OCCAN_STATUS_ERR_PASSIVE;
    17311731                        }else{
Note: See TracChangeset for help on using the changeset viewer.