Ignore:
Timestamp:
Oct 23, 1997, 6:47:23 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4106f7f
Parents:
208a922c
Message:

Updated console driver to use new read routine conventions.

File:
1 edited

Legend:

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

    r208a922c raa239a7  
    6060 */
    6161
    62 int console_inbyte_nonblocking(
    63   int port,
    64   char *c
    65 )
     62int console_inbyte_nonblocking(int port)
    6663{
    6764  rtems_unsigned32 control;
     
    8077  Z8x30_READ_CONTROL( control, RR_0, rr_0 );
    8178  if ( !(rr_0 & RR_0_RX_DATA_AVAILABLE) )
    82     return 0;
     79    return -1;
    8380
    8481  Z8x30_READ_DATA( data, ch );
    85   return ch;
     82  return (int) ch;
    8683}
    8784
Note: See TracChangeset for help on using the changeset viewer.