Skip to content

Commit faaf181

Browse files
authored
Merge pull request #6112 from t-ikegami/fix_bitmaptools_dither
Fix freeze on bitmaptools.dither
2 parents 6af4c77 + c9aa452 commit faaf181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/bitmaptools/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ static void write_pixels(displayio_bitmap_t *bitmap, int y, bool *data) {
691691
uint32_t *pixel_data = (uint32_t *)(bitmap->data + bitmap->stride * y);
692692
for (int i = 0; i < bitmap->stride; i++) {
693693
uint32_t p = 0;
694-
for (int j = 0; j < 32; i++) {
694+
for (int j = 0; j < 32; j++) {
695695
p = (p << 1);
696696
if (*data++) {
697697
p |= 1;

0 commit comments

Comments
 (0)