Updating for github transfer.

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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));
         }