Skip to content

Commit

Permalink
Merge pull request #7546 from FoamyGuy/is31fl3741_fix
Browse files Browse the repository at this point in the history
fix for native is31fl3741
  • Loading branch information
gamblor21 authored Feb 4, 2023
2 parents 3a82730 + fab1bb5 commit 5f43a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared-module/is31fl3741/FrameBuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void common_hal_is31fl3741_FrameBuffer_refresh(is31fl3741_FrameBuffer_obj_t *sel
} else {
color = (rsum << 16) + (gsum << 8) + bsum;
}
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->height);
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->scale_height);
}
}
} else {
Expand All @@ -193,7 +193,7 @@ void common_hal_is31fl3741_FrameBuffer_refresh(is31fl3741_FrameBuffer_obj_t *sel
color = *buffer;
}

common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->height);
common_hal_is31fl3741_draw_pixel(self->is31fl3741, x, y, color, self->mapping, self->scale_height);
buffer++;
}
} else {
Expand Down

0 comments on commit 5f43a63

Please sign in to comment.