mirror of https://github.com/ARMmbed/mbed-os.git
remove useless assert line
parent
142ad22a2f
commit
3e4e9ade0d
4
libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c
Normal file → Executable file
4
libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c
Normal file → Executable 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) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue