Changeset d08e1320 in rtems


Ignore:
Timestamp:
10/12/14 13:54:17 (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
66402ef2
Parents:
d5e533d
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 13:54:17)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:43)
Message:

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

File:
1 edited

Legend:

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

    rd5e533d rd08e1320  
    5151        rtems_interrupt_enable(level);
    5252}
    53 BSP_output_char_function_type BSP_output_char = _BSP_null_char;
     53
     54BSP_polling_getchar_function_type       BSP_poll_char = NULL;
     55BSP_output_char_function_type           BSP_output_char = _BSP_null_char;
    5456
    5557/*
     
    770772    return( rtems_termios_ioctl (arg) );
    771773}
    772 int DEBUG_OUTCHAR(int c)
    773 {
    774     if(c == '\n')
    775         DEBUG_OUTCHAR('\r');
    776     _BSP_null_char(c);
    777     return c;
    778 }
    779 void DEBUG_OUTSTR(const char *msg)
    780 {
    781     while (*msg)
    782         DEBUG_OUTCHAR(*msg++);
    783 }
    784 void DEBUG_OUTNUM(int i)
    785 {
    786     int n;
    787     static const char map[] = "0123456789ABCDEF";
    788     DEBUG_OUTCHAR(' ');
    789     for (n = 28 ; n >= 0 ; n -= 4)
    790         DEBUG_OUTCHAR(map[(i >> n) & 0xF]);
    791 }
    792 
    793 BSP_polling_getchar_function_type       BSP_poll_char = NULL;
    794 
     774
Note: See TracChangeset for help on using the changeset viewer.