Revised to disable BLE for radio communication as needed.

Dependencies:   BLE_API nRF51822 mbed-dev-bin

Dependents:   microbit

Revision:
62:e633e0eeaf19
Parent:
61:b597fb218f84
Child:
65:f7ebabf23e15
--- a/source/drivers/MicroBitSerial.cpp	Wed Jul 13 12:18:40 2016 +0100
+++ b/source/drivers/MicroBitSerial.cpp	Wed Jul 13 12:18:41 2016 +0100
@@ -835,7 +835,6 @@
 
     detach(Serial::RxIrq);
 
-    serial_free(&_serial);
     serial_init(&_serial, tx, rx);
 
     attach(this, &MicroBitSerial::dataReceived, Serial::RxIrq);