mbed library sources

Fork of mbed-src by mbed official

Revision:
395:bfce16e86ea4
Parent:
340:28d1f895c6fe
Child:
407:bbbab616ce8f
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c	Fri Nov 07 15:45:07 2014 +0000
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c	Mon Nov 10 07:45:06 2014 +0000
@@ -52,9 +52,6 @@
 
 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_clear(serial_t *obj) {
 }
-