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 {
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
You can’t perform that action at this time.
0 commit comments