Skip to content

Commit bdc8417

Browse files
committed
src/light/light_grid: fix typo
1 parent 579db51 commit bdc8417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/src/light/light_grid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pbio_error_t pbio_light_grid_set_rows(pbio_light_grid_t *light_grid, const uint8
5959
for (uint8_t i = 0; i < size; i++) {
6060
// Loop through all columns j, starting at col 0 on the left.
6161
for (uint8_t j = 0; j < size; j++) {
62-
// The pixel is on of the bit is high.
62+
// The pixel is on if the bit is high.
6363
bool on = rows[i] & (1 << (size - 1 - j));
6464
// Set the pixel.
6565
pbio_error_t err = pbio_light_grid_set_pixel(light_grid, i, j, on * 100);

0 commit comments

Comments
 (0)