8000 extmod/modframebuf: Enable blit between different formats. · micropython/micropython@14e5525 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14e5525

Browse files
committed
extmod/modframebuf: Enable blit between different formats.
1 parent c442f12 commit 14e5525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/modframebuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ STATIC mp_obj_t framebuf_blit(size_t n_args, const mp_obj_t *args) {
519519
for (int cx0 = x0; cx0 < x0end; ++cx0) {
520520
uint32_t col = getpixel(source, cx1, y1);
521521
if (palette != MP_OBJ_NULL) {
522-
col = getpixel(palette, col, 0) ;
522+
col = getpixel(palette, col, 0);
523523
}
524524
if (col != (uint32_t)key) {
525525
setpixel(self, cx0, y0, col);

0 commit comments

Comments
 (0)
0