Skip to content

Commit 797bf3f

Browse files
author
Zhang Xiaoye
committed
extmod/framebuf: Fix code format issue, again.
Signed-off-by: Eluli Zhang <elulis@gmail.com>
1 parent 34e8b18 commit 797bf3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extmod/modframebuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ static mp_obj_t framebuf_text(size_t n_args, const mp_obj_t *args_in) {
920920
int x2 = x0 + ((column_type & 0x0100) && bold); // dn | da
921921
x0 += (((column_type & 0x0300) == 0x0300) && bold); // da
922922

923-
#endif
923+
#endif
924924

925925
for (int x = x1; x <= x2 && x < max_x; x++) {
926926
uint vline_data = chr_data[j]; // each byte is a column of 8 pixels, LSB at top

ports/stm32/lcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static void lcd_font_buf_convert(pyb_lcd_obj_t *lcd, int chr) {
177177
int x2 = x0 + ((column_type & 0x0100) && 1); // dn | da
178178
x0 += (((column_type & 0x0300) == 0x0300) && 1); // da
179179

180-
#endif
180+
#endif
181181

182182
uint8_t vline_data = chr_data[j]; // each byte is a column of 8 pixels, LSB at top
183183
for (int x = x1; x <= x2 && x < 8; x++) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy