diff options
Diffstat (limited to 'c/src/lib/libbsp/mips')
-rw-r--r-- | c/src/lib/libbsp/mips/p4000/console/console.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/mips/p4000/console/console.c b/c/src/lib/libbsp/mips/p4000/console/console.c index d8797b48e0..a54464a316 100644 --- a/c/src/lib/libbsp/mips/p4000/console/console.c +++ b/c/src/lib/libbsp/mips/p4000/console/console.c @@ -30,9 +30,13 @@ */ -#ifndef lint -static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; -#endif +/* + * Rather than deleting this, it is commented out to (hopefully) help + * the submitter send updates. + * + * static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; + */ + #include <bsp.h> @@ -149,7 +153,7 @@ void outbyte( mips_leddisplay( led_chars[0], led_chars[1], led_chars[2], led_chars[3] ); cur_led = 0; } - else if ( isalnum( ch ) && cur_led < NUM_LEDS ) + else if ( isalnum( (unsigned char) ch ) && cur_led < NUM_LEDS ) { led_chars[cur_led++] = ch; } @@ -157,7 +161,9 @@ void outbyte( } +#if 0 static int console_fd = -1; +#endif /* * Open entry point |