forked from Imagelibrary/rtems
csb350/console/console-io.c: Fix warnings
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
* This routine initializes the console hardware.
|
||||
*
|
||||
*/
|
||||
|
||||
void console_initialize_hardware(void)
|
||||
{
|
||||
uart0->fifoctrl = 0xf1; /* enable fifo, max sizes */
|
||||
@@ -36,7 +35,6 @@ void console_initialize_hardware(void)
|
||||
*
|
||||
* This routine transmits a character using polling.
|
||||
*/
|
||||
|
||||
void console_outbyte_polled(
|
||||
int port,
|
||||
char ch
|
||||
@@ -50,7 +48,6 @@ void console_outbyte_polled(
|
||||
uart0->txdata = ch;
|
||||
au_sync();
|
||||
}
|
||||
|
||||
/*
|
||||
* console_inbyte_nonblocking
|
||||
*
|
||||
@@ -73,7 +70,7 @@ int console_inbyte_nonblocking(
|
||||
|
||||
#include <rtems/bspIo.h>
|
||||
|
||||
void csb250_output_char(char c)
|
||||
static void csb250_output_char(char c)
|
||||
{
|
||||
console_outbyte_polled( 0, c );
|
||||
if (c == '\n') {
|
||||
|
||||
Reference in New Issue
Block a user