File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/components/i2c/drivers Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ class drvOutQuadAlphaNum : public drvOutputBase {
136
136
// Write to the display's buffer
137
137
int cur_idx = pos_start;
138
138
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
140
141
char ch = message[i];
141
142
142
143
// Look-ahead for a decimal point to attach to the current character
@@ -162,7 +163,7 @@ class drvOutQuadAlphaNum : public drvOutputBase {
162
163
displayed.
163
164
*/
164
165
void WriteValue (float value) {
165
- char message[8 + 1 ];
166
+ char message[8 + 1 ];
166
167
snprintf (message, sizeof (message), " %.5f" , value);
167
168
WriteMessage (message);
168
169
}
@@ -184,8 +185,9 @@ class drvOutQuadAlphaNum : public drvOutputBase {
184
185
nullptr ; // /< ptr to a 4-digit alphanumeric display object
185
186
int32_t _brightness; // /< Brightness of the LED backpack, from 0 (off) to 15
186
187
// /< (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
189
191
};
190
192
191
193
#endif // DRV_OUT_QUAD_ALPHANUM_H
You can’t perform that action at this time.
0 commit comments