forked from Imagelibrary/rtems
console/console.c: Update for new NS16550 polled write function.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-11-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* console/console.c: Update for new NS16550 polled write function.
|
||||
|
||||
2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* preinstall.am: Regenerated.
|
||||
|
||||
@@ -254,10 +254,7 @@ rtems_device_driver console_initialize(
|
||||
|
||||
void debug_putc_onlcr(const char c)
|
||||
{
|
||||
uint32_t Irql;
|
||||
if (Console_Is_Initialized) {
|
||||
rtems_interrupt_disable(Irql);
|
||||
|
||||
Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
|
||||
deviceWritePolled(Console_Port_Minor,c);
|
||||
|
||||
@@ -265,8 +262,6 @@ void debug_putc_onlcr(const char c)
|
||||
Console_Port_Tbl[Console_Port_Minor].pDeviceFns->
|
||||
deviceWritePolled(Console_Port_Minor,'\r');
|
||||
}
|
||||
|
||||
rtems_interrupt_enable(Irql);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user