updates

Dependencies:   BLE_API mbed-dev-bin nRF51822

Fork of microbit-dal-eddystone by Martin Woolley

Files at this revision

API Documentation at this revision

Comitter:
LancasterUniversity
Date:
Wed Jul 13 12:18:41 2016 +0100
Parent:
61:b597fb218f84
Child:
63:b4372a29994f
Commit message:
Synchronized with git rev 179b32fe
Author: James Devine
microbit-dal: BUGFIX serial.redirect() [#149]

Removed a call to serial_free() that removed state for the tx and rx
interrupts, without tearing down any configured interrupts.

Changed in this revision

source/drivers/MicroBitSerial.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);