remove useless assert line

pull/662/head
Yihui Xiong 2014-11-04 17:18:54 +08:00
parent 142ad22a2f
commit 3e4e9ade0d
1 changed files with 0 additions and 4 deletions

View File

@ -52,9 +52,6 @@ serial_t stdio_uart;
void serial_init(serial_t *obj, PinName tx, PinName rx) {
UARTName uart = UART_0;
MBED_ASSERT((int)uart != NC);
obj->uart = (NRF_UART_Type *)uart;
//pin configurations --
@ -296,4 +293,3 @@ void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow, Pi
void serial_clear(serial_t *obj) {
}