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 35ce1da commit ccc8fb1Copy full SHA for ccc8fb1
Adafruit_LSM303_Accel.cpp
@@ -68,7 +68,7 @@ Adafruit_LSM303_Accel_Unified::Adafruit_LSM303_Accel_Unified(int32_t sensorID) {
68
*/
69
bool Adafruit_LSM303_Accel_Unified::begin(uint8_t i2c_address, TwoWire *wire) {
70
71
- if (i2c_dev)
+ if (i2c_dev)
72
delete i2c_dev;
73
i2c_dev = new Adafruit_I2CDevice(i2c_address, wire);
74
0 commit comments