Skip to content

Commit f6c406a

Browse files
committed
Clang
1 parent 00bb2bf commit f6c406a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_Out_QuadAlphaNum.h

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
#define LED_MAX_CHARS \
2929
4 ///< Maximum number of characters to display on the alphanumeric display
3030

31-
3231
/*!
3332
@brief Class that provides a driver interface for Quad Alphanumeric
3433
Displays w/I2C Backpack
3534
*/
36-
class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Driver_Out {
35+
class WipperSnapper_I2C_Driver_Out_QuadAlphaNum
36+
: public WipperSnapper_I2C_Driver_Out {
3737

3838
public:
3939
/*******************************************************************************/
@@ -45,20 +45,22 @@ class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Drive
4545
7-bit device address.
4646
*/
4747
/*******************************************************************************/
48-
WipperSnapper_I2C_Driver_Out_QuadAlphaNum(TwoWire *i2c, uint16_t sensorAddress) : WipperSnapper_I2C_Driver_Out(i2c, sensorAddress) {
48+
WipperSnapper_I2C_Driver_Out_QuadAlphaNum(TwoWire *i2c,
49+
uint16_t sensorAddress)
50+
: WipperSnapper_I2C_Driver_Out(i2c, sensorAddress) {
4951
_i2c = i2c;
5052
_sensorAddress = sensorAddress;
5153
}
5254

5355
/*!
5456
@brief Destructor for an MS8607 sensor.
5557
*/
56-
~WipperSnapper_I2C_Driver_Out_QuadAlphaNum() {
58+
~WipperSnapper_I2C_Driver_Out_QuadAlphaNum() {
5759
if (_alpha4 != nullptr) {
5860
delete _alpha4;
5961
_alpha4 = nullptr;
6062
}
61-
}
63+
}
6264

6365
/*!
6466
@brief Initializes the drvOutQuadAlphaNum component and begins I2C.
@@ -180,10 +182,13 @@ class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Drive
180182
}
181183

182184
protected:
183-
Adafruit_AlphaNum4 *_alpha4 = nullptr; ///< ptr to a 4-digit alphanumeric display object
185+
Adafruit_AlphaNum4 *_alpha4 =
186+
nullptr; ///< ptr to a 4-digit alphanumeric display object
184187
int32_t _brightness; ///< Brightness of the LED backpack, from 0 (off) to 15
185188
///< (full brightness)
186-
uint32_t _alignment = LED_BACKPACK_ALIGNMENT_DEFAULT; ///< Determines L/R alignment of the message displayed
189+
uint32_t _alignment =
190+
LED_BACKPACK_ALIGNMENT_DEFAULT; ///< Determines L/R alignment of the
191+
///< message displayed
187192
};
188193

189194
#endif // WIPPERSNAPPER_I2C_DRIVER_OUT_QUADALPHANUM_H

0 commit comments

Comments
 (0)