X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Fuart.c;h=da9a3fa0611d536f566ede5f7643d8b2df56d8e9;hp=715509ff70ddc94c61fa27a4532f45a347872592;hb=202c5cb4442b81aa5d0f7389b6dca62b2c121ac1;hpb=38c6de0e83cd19fd4c17c47844b80ba94c150b4b diff --git a/betty/uart.c b/betty/uart.c index 715509f..da9a3fa 100644 --- a/betty/uart.c +++ b/betty/uart.c @@ -13,9 +13,6 @@ void uart0_init(void) { - /* select pins 0.0 and 0.1 as tx and rx */ - PINSEL0=(PINSEL0&~(0xf))|0x05; - /* configure uart 0 */ UART0_FCR=0x07; // enable fifo UART0_LCR=0x83; // set dlab + word length