diff --git a/14_raspbootin64/kernel8.img b/14_raspbootin64/kernel8.img index 7551a233..9de255c0 100755 Binary files a/14_raspbootin64/kernel8.img and b/14_raspbootin64/kernel8.img differ diff --git a/14_raspbootin64/uart.c b/14_raspbootin64/uart.c index 5bd2b123..406f9dad 100644 --- a/14_raspbootin64/uart.c +++ b/14_raspbootin64/uart.c @@ -89,11 +89,8 @@ void uart_send(unsigned int c) { * Receive a character */ char uart_getc() { - char r; /* wait until something is in the buffer */ do{asm volatile("nop");}while(*UART0_FR&0x10); /* read it and return */ - r=(char)(*UART0_DR); - /* convert carrige return to newline */ - return r=='\r'?'\n':r; + return (char)(*UART0_DR); }