Line 48 commented out

Dependents:   UPAS_MicroBLE ENV_NODE_REQUEST_POC ENV_F303K8

Fork of SI1145 by Volckens Group Sensors

Revision:
5:2260652f0296
Parent:
4:27844262d40f
Child:
6:642ece0fad39
--- a/SI1145.cpp	Sat Jun 13 16:22:17 2015 +0000
+++ b/SI1145.cpp	Sun Jun 14 01:25:38 2015 +0000
@@ -200,7 +200,8 @@
     i2c.read(address, data, 2);
     // Merge bytes
     vali = data[0] | (data[1] << 8);    // int
-    valf = (float)vali/100;                 // convert to float
+    valf = (float)vali;
+    valf = valf/100;                 // convert to float
     // Return value
     return valf;
 }