Skip to content

Commit 929eb9a

Browse files
authored
Update WipperSnapper_I2C_Driver_LPS28DFW.h
1 parent df71485 commit 929eb9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_LPS28DFW.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ class WipperSnapper_I2C_Driver_LPS28DFW : public WipperSnapper_I2C_Driver {
137137
}
138138

139139
protected:
140-
Adafruit_LPS28 *_lps28; ///< LPS28DFW object
140+
Adafruit_LPS28 *_lps28 = nullptr; ///< LPS28DFW object
141141
Adafruit_Sensor *_temp =
142142
NULL; ///< Ptr to an adafruit_sensor representing the temperature
143143
Adafruit_Sensor *_pressure =
144144
NULL; ///< Ptr to an adafruit_sensor representing the pressure
145145
};
146146

147-
#endif // WipperSnapper_I2C_Driver_LPS28DFW
147+
#endif // WipperSnapper_I2C_Driver_LPS28DFW

0 commit comments

Comments
 (0)