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 df71485 commit 929eb9aCopy full SHA for 929eb9a
src/components/i2c/drivers/WipperSnapper_I2C_Driver_LPS28DFW.h
@@ -137,11 +137,11 @@ class WipperSnapper_I2C_Driver_LPS28DFW : public WipperSnapper_I2C_Driver {
137
}
138
139
protected:
140
- Adafruit_LPS28 *_lps28; ///< LPS28DFW object
+ Adafruit_LPS28 *_lps28 = nullptr; ///< LPS28DFW object
141
Adafruit_Sensor *_temp =
142
NULL; ///< Ptr to an adafruit_sensor representing the temperature
143
Adafruit_Sensor *_pressure =
144
NULL; ///< Ptr to an adafruit_sensor representing the pressure
145
};
146
147
-#endif // WipperSnapper_I2C_Driver_LPS28DFW
+#endif // WipperSnapper_I2C_Driver_LPS28DFW
0 commit comments