Skip to content

Commit

Permalink
Send shorter frames in configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
krzmaz committed Dec 4, 2023
1 parent c242411 commit a53cced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configurator/src/capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Capturer {
}

fn single_light_on(&self, index: usize) -> lightfx::Frame {
lightfx::Frame::new_black(self.number_of_lights).with_pixel(index, lightfx::Color::white())
lightfx::Frame::new_black(index + 1).with_pixel(index, lightfx::Color::white())
}

pub fn read_coordinates_from_file(
Expand Down

0 comments on commit a53cced

Please sign in to comment.