Browse Source

Fix minimal loop time for mood light.

master
Juergen Stuber 3 years ago
parent
commit
1146a04baa
  1. 2
      src/bin/bimood/main.rs

2
src/bin/bimood/main.rs

@ -30,7 +30,7 @@ fn main() -> std::io::Result<()> {
let loop_time = args[3]
.parse::<usize>()
.unwrap_or(DEFAULT_LOOP_TIME)
.min(MIN_LOOP_TIME);
.max(MIN_LOOP_TIME);
eprintln!(
"screen size {}x{}, loop time {:?}s",
x_size, y_size, loop_time

Loading…
Cancel
Save