2005-01-04 Joel Sherrill <joel@OARcorp.com>

* console/console.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2005-01-04 23:28:03 +00:00
parent b5e685b004
commit d99aa9d3fe
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2005-01-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Remove warnings.
2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove build-variant support. * Makefile.am: Remove build-variant support.

View File

@@ -174,11 +174,11 @@ static int
InterruptWrite (int minor, const char *buf, int len) InterruptWrite (int minor, const char *buf, int len)
{ {
if (minor==UART_CHANNEL_A) { if (minor==UART_CHANNEL_A) {
if (len>0) (char)DUTBA=*buf; if (len>0) DUTBA=*buf;
Enable_Interrupts_Tx_A; Enable_Interrupts_Tx_A;
} }
else if (minor==UART_CHANNEL_B) { else if (minor==UART_CHANNEL_B) {
if (len>0) (char)DUTBB=*buf; if (len>0) DUTBB=*buf;
Enable_Interrupts_Tx_B; Enable_Interrupts_Tx_B;
} }
return 0; return 0;