We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecd3b88 commit dd38334Copy full SHA for dd38334
src/SparkFun_MAG3110.cpp
@@ -40,7 +40,6 @@ bool MAG3110::initialize() {
40
Wire.setClock(400000); // I2C fast mode, 400kHz
41
if(readRegister(MAG3110_WHO_AM_I) != MAG3110_WHO_AM_I_RSP){ //Could not find MAG3110
42
//Serial.println("Could not find MAG3110 connected!");
43
- error = true;
44
return false;
45
}
46
else //Successfully initialized
0 commit comments