Ignore:
Timestamp:
Apr 9, 1997, 8:05:12 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0956b52
Parents:
3fc076d
Message:

removed unused is_character_ready routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/dmv152/console/console.c

    r3fc076d r8c0dc2c  
    4747 
    4848  return RTEMS_SUCCESSFUL;
    49 }
    50 
    51 /*  is_character_ready
    52  *
    53  *  This routine returns TRUE if a character is available.
    54  *
    55  *  Input parameters: NONE
    56  *
    57  *  Output parameters:  NONE
    58  *
    59  *  Return values:
    60  */
    61 
    62 rtems_boolean is_character_ready(
    63   char *ch
    64 )
    65 {
    66   rtems_unsigned8 rr_0;
    67 
    68   for ( ; ; ) {
    69     Z8x30_READ_CONTROL( CONSOLE_CONTROL, RR_0, rr_0 );
    70     if ( !(rr_0 & RR_0_RX_DATA_AVAILABLE) )
    71       return( FALSE );
    72 
    73     Z8x30_READ_DATA( CONSOLE_DATA, *ch );
    74     return( TRUE );
    75   }
    7649}
    7750
Note: See TracChangeset for help on using the changeset viewer.