Compare commits

..

1 commit

Author SHA1 Message Date
0a90a2ca5f arc 2021-12-28 15:29:18 -05:00

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.");
}
});