Skip to content

Commit 28811e7

Browse files
committed
pbio/light_matrix: use user pixel setter for rows
This fixes user animations not stopping when user images are displayed.
1 parent 16f1ee9 commit 28811e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/src/light/light_matrix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pbio_error_t pbio_light_matrix_set_rows(pbio_light_matrix_t *light_matrix, const
118118
// The pixel is on if the bit is high.
119119
bool on = rows[i] & (1 << (size - 1 - j));
120120
// Set the pixel.
121-
pbio_error_t err = pbio_light_matrix_set_pixel(light_matrix, i, j, on * 100);
121+
pbio_error_t err = pbio_light_matrix_set_pixel_user(light_matrix, i, j, on * 100);
122122
if (err != PBIO_SUCCESS) {
123123
return err;
124124
}

0 commit comments

Comments
 (0)