We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 579db51 commit bdc8417Copy full SHA for bdc8417
lib/pbio/src/light/light_grid.c
@@ -59,7 +59,7 @@ pbio_error_t pbio_light_grid_set_rows(pbio_light_grid_t *light_grid, const uint8
59
for (uint8_t i = 0; i < size; i++) {
60
// Loop through all columns j, starting at col 0 on the left.
61
for (uint8_t j = 0; j < size; j++) {
62
- // The pixel is on of the bit is high.
+ // The pixel is on if the bit is high.
63
bool on = rows[i] & (1 << (size - 1 - j));
64
// Set the pixel.
65
pbio_error_t err = pbio_light_grid_set_pixel(light_grid, i, j, on * 100);
0 commit comments