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 1131:a329a3c044cd, committed 2016-09-15
- Comitter:
- JmaciB
- Date:
- Thu Sep 15 19:09:25 2016 +0000
- Parent:
- 1130:ff83f0020480
- Commit message:
- For github!
Changed in this revision
ble/services/HealthThermometerService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/services/HealthThermometerService.h Tue Jan 12 19:47:52 2016 +0000 +++ b/ble/services/HealthThermometerService.h Thu Sep 15 19:09:25 2016 +0000 @@ -109,7 +109,8 @@ } void updateTemperature(float temp) { - uint32_t temp_ieee11073 = quick_ieee11073_from_float(temp); + //uint32_t temp_ieee11073 = quick_ieee11073_from_float(temp); + float temp_ieee11073 = temp; memcpy(&bytes[OFFSET_OF_VALUE], &temp_ieee11073, sizeof(float)); }