Browse Source

Fix minimal loop time for mood light.

master
Juergen Stuber 2 years ago
parent
commit
1146a04baa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/bin/bimood/main.rs

+ 1
- 1
src/bin/bimood/main.rs View File

@ -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