mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 06:35:57 +08:00
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* console.c: RTEMS_DEBUG is a define, not a variable.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console.c: RTEMS_DEBUG is a define, not a variable.
|
||||
|
||||
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
||||
|
||||
PR 1917/bsps
|
||||
|
||||
@@ -298,8 +298,9 @@ rtems_device_driver console_initialize(
|
||||
}
|
||||
|
||||
if (minor == Console_Port_Minor) {
|
||||
if (RTEMS_DEBUG)
|
||||
#if defined(RTEMS_DEBUG)
|
||||
printk( "Register %s as the CONSOLE\n", port->sDeviceName );
|
||||
#endif
|
||||
status = rtems_io_register_name( "dev/console", major, minor );
|
||||
if (status != RTEMS_SUCCESSFUL) {
|
||||
printk( "Unable to register /dev/console\n" );
|
||||
|
||||
Reference in New Issue
Block a user