Skip to content

Commit 5f43a63

Browse files
authored
Merge pull request #7546 from FoamyGuy/is31fl3741_fix
fix for native is31fl3741
2 parents 3a82730 + fab1bb5 commit 5f43a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/is31fl3741/FrameBuffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void common_hal_is31fl3741_FrameBuffer_refresh(is31fl3741_FrameBuffer_obj_t *sel
172172
} else {
173173
color = (rsum << 16) + (gsum << 8) + bsum;
174174
}
175-
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->height);
175+
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->scale_height);
176176
}
177177
}
178178
} else {
@@ -193,7 +193,7 @@ void common_hal_is31fl3741_FrameBuffer_refresh(is31fl3741_FrameBuffer_obj_t *sel
193193
color = *buffer;
194194
}
195195

196-
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->height);
196+
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->scale_height);
197197
buffer++;
198198
}
199199
} else {

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