updates
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal-eddystone by
Revision 61:b597fb218f84, committed 2016-07-13
- Comitter:
- LancasterUniversity
- Date:
- Wed Jul 13 12:18:40 2016 +0100
- Parent:
- 60:122814b3e76e
- Child:
- 62:e633e0eeaf19
- Commit message:
- Synchronized with git rev 64042e4a
Author: James Devine
microbit-dal: BUGFIX cast in MicroBitSerial from int to char
There was an unnecessary cast in MicroBitSerial.read that meant error
codes would never be returned to the user application, this has now
been removed.
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:39 2016 +0100 +++ b/source/drivers/MicroBitSerial.cpp Wed Jul 13 12:18:40 2016 +0100 @@ -546,7 +546,7 @@ return result; } - char c = (char)getChar(mode); + int c = getChar(mode); unlockRx();