Changeset e8cf7b5 in rtems


Ignore:
Timestamp:
Dec 10, 2009, 8:46:17 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
6be3405
Parents:
5f5f681
Message:

2009-12-10 Ralf Corsépius <ralf.corsepius@…>

  • console/console.c: Let bsp_in_char return int.
Location:
c/src/lib/libbsp/sparc/leon2
Files:
2 edited

Legend:

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

    r5f5f681 re8cf7b5  
     12009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * console/console.c: Let bsp_in_char return int.
     4
    152009-11-23      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/sparc/leon2/console/console.c

    r5f5f681 re8cf7b5  
    440440BSP_output_char_function_type BSP_output_char = bsp_out_char;
    441441
    442 static char bsp_in_char(void)
     442static int bsp_in_char(void)
    443443{
    444444  int tmp;
    445445
    446446  while ((tmp = console_inbyte_nonblocking(0)) < 0);
    447   return (char) tmp;
     447  return tmp;
    448448}
    449449
Note: See TracChangeset for help on using the changeset viewer.