Subversion Repositories HelenOS

Rev

Rev 3478 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3478 Rev 3484
Line 46... Line 46...
46
 *
46
 *
47
 * @param ch Character to be printed.
47
 * @param ch Character to be printed.
48
 */
48
 */
49
static void putc(char ch)
49
static void putc(char ch)
50
{
50
{
-
 
51
    if (ch == '\n')
-
 
52
        *((volatile char *) PUTC_ADDRESS) = '\r';
51
    *((volatile char *) PUTC_ADDRESS) = ch;
53
    *((volatile char *) PUTC_ADDRESS) = ch;
52
}
54
}
53
 
55
 
54
 
56
 
55
/** Prints a string to the console.
57
/** Prints a string to the console.