clang-format

This commit is contained in:
Tyeth Gundry 2025-08-22 13:04:10 +01:00
parent 5be2eb1b4a
commit 6deba1dea6

View file

@ -26,7 +26,7 @@
*/
/**************************************************************************/
class WipperSnapper_I2C_Driver_MLX90632D : public WipperSnapper_I2C_Driver {
public:
public:
/*******************************************************************************/
/*!
@brief Constructor for an MLX90632 sensor.
@ -71,7 +71,8 @@ class WipperSnapper_I2C_Driver_MLX90632D : public WipperSnapper_I2C_Driver {
}
_mlx90632 = new Adafruit_MLX90632();
// attempt to initialize MLX90632
if (!_mlx90632->begin(_sensorAddress, _i2c)) return false;
if (!_mlx90632->begin(_sensorAddress, _i2c))
return false;
return ConfigureAndPrintSensorInfo();
}
@ -222,7 +223,7 @@ class WipperSnapper_I2C_Driver_MLX90632D : public WipperSnapper_I2C_Driver {
return false; // sensor not read recently, return false
}
protected:
protected:
double _deviceTemp; ///< Device temperature in Celsius
double _objectTemp; ///< Object temperature in Celsius
uint32_t _lastRead; ///< Last time the sensor was read in milliseconds