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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: services/UARTService.h
- Revision:
- 326:f79c1562312f
- Parent:
- 242:0e9201b67e2f
- Child:
- 327:8c645f5694b2
--- 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);