forked from Imagelibrary/rtems
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, console/m340uart.c: Removed warnings.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user