Changeset 575c12c1 in rtems


Ignore:
Timestamp:
Oct 12, 2014, 1:52:31 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
ce1ba304
Parents:
91e4946f
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 13:52:31)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:42)
Message:

m68k/av5282/console/console.c: Eliminate unused debug methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/av5282/console/console.c

    r91e4946f r575c12c1  
    4444BSP_output_char_function_type     BSP_output_char = _BSP_null_char;
    4545BSP_polling_getchar_function_type BSP_poll_char = NULL;
    46 
    4746
    4847#define MAX_UART_INFO     3
     
    713712  return rtems_termios_ioctl(arg);
    714713}
    715 
    716 int DEBUG_OUTCHAR(int c)
    717 {
    718   if (c == '\n')
    719     DEBUG_OUTCHAR('\r');
    720   _BSP_null_char(c);
    721   return c;
    722 }
    723 void DEBUG_OUTSTR(const char *msg)
    724 {
    725   while (*msg)
    726     DEBUG_OUTCHAR(*msg++);
    727 }
    728 void DEBUG_OUTNUM(int i)
    729 {
    730   int n;
    731   static const char map[] = "0123456789ABCDEF";
    732 
    733   DEBUG_OUTCHAR(' ');
    734   for (n = 28 ; n >= 0 ; n -= 4)
    735       DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
    736 }
Note: See TracChangeset for help on using the changeset viewer.