Skip to content

Commit 1a12145

Browse files
committed
clang
1 parent 538ce3b commit 1a12145

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/i2c/drivers/drvOutQuadAlphaNum.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ class drvOutQuadAlphaNum : public drvOutputBase {
136136
// Write to the display's buffer
137137
int cur_idx = pos_start;
138138
for (size_t i = 0; i < len_display; i++) {
139-
// Save the character because if there's a decimal, we need to skip it in the buffer
139+
// Save the character because if there's a decimal, we need to skip it in
140+
// the buffer
140141
char ch = message[i];
141142

142143
// Look-ahead for a decimal point to attach to the current character
@@ -162,7 +163,7 @@ class drvOutQuadAlphaNum : public drvOutputBase {
162163
displayed.
163164
*/
164165
void WriteValue(float value) {
165-
char message[8+1];
166+
char message[8 + 1];
166167
snprintf(message, sizeof(message), "%.5f", value);
167168
WriteMessage(message);
168169
}
@@ -184,8 +185,9 @@ class drvOutQuadAlphaNum : public drvOutputBase {
184185
nullptr; ///< ptr to a 4-digit alphanumeric display object
185186
int32_t _brightness; ///< Brightness of the LED backpack, from 0 (off) to 15
186187
///< (full brightness)
187-
uint32_t _alignment = LED_BACKPACK_ALIGNMENT_DEFAULT; ///< Determines L/R alignment of the message
188-
///< displayed
188+
uint32_t _alignment =
189+
LED_BACKPACK_ALIGNMENT_DEFAULT; ///< Determines L/R alignment of the
190+
///< message displayed
189191
};
190192

191193
#endif // DRV_OUT_QUAD_ALPHANUM_H

0 commit comments

Comments
 (0)