Changeset aa239a7 in rtems
- Timestamp:
- 10/23/97 18:47:23 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 4106f7f
- Parents:
- 208a922c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/dmv152/console/console.c
r208a922c raa239a7 60 60 */ 61 61 62 int console_inbyte_nonblocking( 63 int port, 64 char *c 65 ) 62 int console_inbyte_nonblocking(int port) 66 63 { 67 64 rtems_unsigned32 control; … … 80 77 Z8x30_READ_CONTROL( control, RR_0, rr_0 ); 81 78 if ( !(rr_0 & RR_0_RX_DATA_AVAILABLE) ) 82 return 0;79 return -1; 83 80 84 81 Z8x30_READ_DATA( data, ch ); 85 return ch;82 return (int) ch; 86 83 } 87 84
Note: See TracChangeset
for help on using the changeset viewer.