Line 48 commented out

Dependents:   UPAS_MicroBLE ENV_NODE_REQUEST_POC ENV_F303K8

Fork of SI1145 by Volckens Group Sensors

Revision:
2:4d89a48e6174
Parent:
1:8587b5583343
Child:
3:efef49daeb13
diff -r 8587b5583343 -r 4d89a48e6174 SI1145.h
--- a/SI1145.h	Fri May 29 13:52:22 2015 +0000
+++ b/SI1145.h	Sat May 30 00:02:00 2015 +0000
@@ -7,7 +7,7 @@
  */
 
 #include "mbed.h"
-#define SLAVE_ADDRESS (0x60 << 1)
+#define SI1145_ADDRESS (0x60 << 1)
 extern Serial pc;
 
 /** SI1145 class
@@ -24,13 +24,13 @@
      * @param scl I2C-bus SCL pin
      * @param slave_adr (option) I2C-bus address (default: 0x60)
      */
-    SI1145(PinName sda, PinName sck, char slave_adr = SLAVE_ADDRESS);
+    SI1145(PinName sda, PinName sck, char slave_adr = SI1145_ADDRESS);
     /** Create a SI1145 instance
      *  which is connected to specified I2C pins with specified address
      * @param i2c_obj I2C object (instance)
      * @param slave_adr (option) I2C-bus address (default: 0x60)
      */
-    SI1145(I2C &i2c_obj, char slave_adr = SLAVE_ADDRESS);
+    SI1145(I2C &i2c_obj, char slave_adr = SI1145_ADDRESS);
     /** Destructor of SI1145
      */
     //virtual ~SI1145();