Compare commits

..

1 Commits

Author SHA1 Message Date
jane 0a90a2ca5f arc 2021-12-28 15:29:18 -05:00
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@ fn main() {
.build()
.expect("Could not construct LED Controller.");
loop {
let lock_c = Arc::clone(&lock);
let lights = lock_c.read().expect("Could not read array lock.");
let lights = lock.read().expect("Could not read array lock.");
run_lights(&mut controller, &lights).expect("Error running lights controller.");
}
});