Merge pull request #1 from adafruit/init-as-nullptr
Initialize i2c_dev to nullptr in constructor
This commit is contained in:
commit
1846a7318a
1 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@
|
|||
Adafruit_MLX90632::Adafruit_MLX90632() {
|
||||
TO0 = 25.0; // Initialize previous object temperature
|
||||
TA0 = 25.0; // Initialize previous ambient temperature
|
||||
i2c_dev = nullptr;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in a new issue