[uart_bif.c] Fixed order of function calls.