Changeset d5e533d in rtems
- Timestamp:
- 10/12/14 13:53:46 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- d08e1320
- Parents:
- b1c89d25
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 13:53:46)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:32:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/mcf5329/console/console.c
rb1c89d25 rd5e533d 666 666 return (rtems_termios_ioctl(arg)); 667 667 } 668 int DEBUG_OUTCHAR(int c)669 {670 if (c == '\n')671 DEBUG_OUTCHAR('\r');672 _BSP_null_char(c);673 return c;674 }675 void DEBUG_OUTSTR(const char *msg)676 {677 while (*msg)678 DEBUG_OUTCHAR(*msg++);679 }680 void DEBUG_OUTNUM(int i)681 {682 int n;683 static const char map[] = "0123456789ABCDEF";684 685 DEBUG_OUTCHAR(' ');686 for (n = 28; n >= 0; n -= 4)687 DEBUG_OUTCHAR(map[(i >> n) & 0xF]);688 }
Note: See TracChangeset
for help on using the changeset viewer.