Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Revision 326:f79c1562312f, committed 2015-03-27
- Comitter:
- rgrover1
- Date:
- Fri Mar 27 13:03:37 2015 +0000
- Parent:
- 325:501ad8b8bbe5
- Child:
- 327:8c645f5694b2
- Commit message:
- Synchronized with git rev c936446c
Author: Rohit Grover
UARTService::write() should return a size_t
Changed in this revision
| services/UARTService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/UARTService.h Mon Mar 23 16:28:09 2015 +0000
+++ b/services/UARTService.h Fri Mar 27 13:03:37 2015 +0000
@@ -98,7 +98,7 @@
* @param length Amount of characters to be appended.
* @return Amount of characters appended to the rxCharacteristic.
*/
- ssize_t write(const void *_buffer, size_t length) {
+ size_t write(const void *_buffer, size_t length) {
size_t origLength = length;
const uint8_t *buffer = static_cast<const uint8_t *>(_buffer);
