mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 13:17:45 +08:00
2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps * console/sci.c: Use same default baud rate as monitor.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1772/bsps
|
||||
* console/sci.c: Use same default baud rate as monitor.
|
||||
|
||||
2011-02-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* timer/timer.c: Include <bsp.h> before <rtems/btimer.h>.
|
||||
|
||||
@@ -556,8 +556,8 @@ int SciInterruptOpen(
|
||||
/* SciSetBaud(115200); set the baud rate */
|
||||
/* SciSetBaud( 57600); set the baud rate */
|
||||
/* SciSetBaud( 38400); set the baud rate */
|
||||
SciSetBaud( 19200); /* set the baud rate */
|
||||
/* SciSetBaud( 9600); set the baud rate */
|
||||
/* SciSetBaud( 19200); set the baud rate */
|
||||
SciSetBaud( 9600); /* set the baud rate */
|
||||
|
||||
SciSetParity(SCI_PARITY_NONE); /* set parity to none */
|
||||
|
||||
@@ -681,8 +681,8 @@ int SciSetAttributes(
|
||||
|
||||
if (!baud_requested)
|
||||
{
|
||||
/* baud_requested = B9600; default to 9600 baud */
|
||||
baud_requested = B19200; /* default to 19200 baud */
|
||||
baud_requested = B9600; /* default to 9600 baud */
|
||||
/* baud_requested = B19200; default to 19200 baud */
|
||||
}
|
||||
|
||||
sci_rate = rtems_termios_baud_to_number( baud_requested );
|
||||
@@ -783,8 +783,8 @@ int SciPolledOpen(
|
||||
/* SciSetBaud(115200); set the baud rate */
|
||||
/* SciSetBaud( 57600); set the baud rate */
|
||||
/* SciSetBaud( 38400); set the baud rate */
|
||||
SciSetBaud( 19200); /* set the baud rate */
|
||||
/* SciSetBaud( 9600); set the baud rate */
|
||||
/* SciSetBaud( 19200); * set the baud rate */
|
||||
SciSetBaud( 9600); /* set the baud rate */
|
||||
|
||||
SciSetParity(SCI_PARITY_NONE); /* set no parity */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user