Skip to content

Commit 467a4e7

Browse files
committed
fix comment
1 parent b39dd84 commit 467a4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/displayio/Display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ STATIC bool _refresh_area(displayio_display_obj_t *self, const displayio_area_t
249249
// for SH1107 and other boundary constrained controllers
250250
// write one single row at a time
251251
if (self->SH1107_addressing) {
252-
subrectangles = rows_per_buffer / 8; // vertical (column mode) write each separately (height times)
252+
subrectangles = rows_per_buffer / 8; // page addressing mode writes 8 rows at a time
253253
rows_per_buffer = 8;
254254
} else if (displayio_area_size(&clipped) > buffer_size * pixels_per_word) {
255255
rows_per_buffer = buffer_size * pixels_per_word / displayio_area_width(&clipped);

0 commit comments

Comments
 (0)