diff options
Diffstat (limited to 'src/ADS1115_WE.cpp')
-rw-r--r-- | src/ADS1115_WE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ADS1115_WE.cpp b/src/ADS1115_WE.cpp index d7f5b8a..1741dc5 100644 --- a/src/ADS1115_WE.cpp +++ b/src/ADS1115_WE.cpp @@ -31,7 +31,7 @@ void ADS1115_WE::reset(){ bool ADS1115_WE::init(){
Wire.beginTransmission(i2cAddress);
- bool success = Wire.endTransmission();
+ uint8_t success = Wire.endTransmission();
if(success){
return 0;
}
|