diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-12 08:52:58 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 10:32:42 -0500 |
commit | ce1ba3048fe8593b032534fd68e80b1c6d3754ea (patch) | |
tree | c7ce7a9e10cf8636a82aadd5ec92c5c7b7a226ec | |
parent | m68k/av5282/console/console.c: Eliminate unused debug methods (diff) | |
download | rtems-ce1ba3048fe8593b032534fd68e80b1c6d3754ea.tar.bz2 |
m68k/genmcf548x/console/console.c: Eliminate unused debug methods
-rw-r--r-- | c/src/lib/libbsp/m68k/genmcf548x/console/console.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/console/console.c b/c/src/lib/libbsp/m68k/genmcf548x/console/console.c index c5aa359d5d..e85b9345d6 100644 --- a/c/src/lib/libbsp/m68k/genmcf548x/console/console.c +++ b/c/src/lib/libbsp/m68k/genmcf548x/console/console.c @@ -832,26 +832,3 @@ rtems_device_driver console_control( { return( rtems_termios_ioctl (arg) ); } - - -int DEBUG_OUTCHAR(int c) -{ - if(c == '\n') - DEBUG_OUTCHAR('\r'); - _BSP_null_char(c); - return c; -} -void DEBUG_OUTSTR(const char *msg) -{ - while (*msg) - DEBUG_OUTCHAR(*msg++); -} -void DEBUG_OUTNUM(int i) -{ - int n; - static const char map[] = "0123456789ABCDEF"; - DEBUG_OUTCHAR(' '); - for (n = 28 ; n >= 0 ; n -= 4) - DEBUG_OUTCHAR(map[(i >> n) & 0xF]); -} - |