Update UART.c

Add naming convention.
Remove while loop on UART0 GetChar() function for using it into scheduler