X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Fuart.c;h=da9a3fa0611d536f566ede5f7643d8b2df56d8e9;hb=ec21607f7dc421c6a474d93b90e9045ec465a222;hp=715509ff70ddc94c61fa27a4532f45a347872592;hpb=be9286b8103eef7df95506c831b48ec5c1d6f32f;p=my-code%2Farm.git 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