diff --git a/src/SI1145_WE.cpp b/src/SI1145_WE.cpp index bea6d83..1399fa3 100644 --- a/src/SI1145_WE.cpp +++ b/src/SI1145_WE.cpp @@ -15,11 +15,6 @@ #include "SI1145_WE.h" -SI1145_WE::SI1145_WE(){ - _wire = &Wire; - i2cAddress = 0x60; -} - SI1145_WE::SI1145_WE(TwoWire *w){ _wire = w; i2cAddress = 0x60; diff --git a/src/SI1145_WE.h b/src/SI1145_WE.h index 0919fbe..2438058 100644 --- a/src/SI1145_WE.h +++ b/src/SI1145_WE.h @@ -119,9 +119,7 @@ typedef enum SI1145IntType{ class SI1145_WE { public: - SI1145_WE(); - SI1145_WE(TwoWire *w); - + SI1145_WE(TwoWire *w = &Wire); void init(); void resetSI1145(); void setI2CAddress(int);