2002-11-04 Joel Sherrill <joel@OARcorp.com>

* console/console.c, console/m340uart.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-11-04 14:26:16 +00:00
parent 202ed852af
commit baee0fb6d5
3 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, console/m340uart.c: Removed warnings.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.

View File

@@ -418,9 +418,12 @@ dbugInitialise ()
if (uart_config.nb<2) rtems_fatal_error_occurred (-1);
/* don't set DUACR twice! */
if (!CHANNEL_ENABLED_A)
if (uart_config.baud_speed_table[UART_CHANNEL_B].set==1) DUACR = m340_BRG_Set1;
else DUACR = m340_BRG_Set2;
if (!CHANNEL_ENABLED_A) {
if (uart_config.baud_speed_table[UART_CHANNEL_B].set==1)
DUACR = m340_BRG_Set1;
else
DUACR = m340_BRG_Set2;
}
/*
* make OPCR an auxiliary function serving the communication channels

View File

@@ -27,6 +27,7 @@
#include <m68340.h>
#include <m340uart.h>
#include <stdarg.h>
#include <string.h>
/* this table shows compatible speed configurations for the MC68340:
the first row shows baud rates for baud speed set 1