Compare commits
1 commit
6333245304
...
eab3cf03e5
Author | SHA1 | Date | |
---|---|---|---|
eab3cf03e5 |
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fn main() {
|
||||||
let c_lock = Arc::clone(&lock);
|
let c_lock = Arc::clone(&lock);
|
||||||
let mut lights = c_lock.write().unwrap();
|
let mut lights = c_lock.write().unwrap();
|
||||||
let mut data = pattern.lock().unwrap();
|
let mut data = pattern.lock().unwrap();
|
||||||
for p in *data {
|
for p in *pattern {
|
||||||
//let c_lock = Arc::clone(&lock);
|
//let c_lock = Arc::clone(&lock);
|
||||||
//let mut lights = c_lock.write().unwrap();
|
//let mut lights = c_lock.write().unwrap();
|
||||||
p.execute(&mut lights);
|
p.execute(&mut lights);
|
||||||
|
|
Loading…
Reference in a new issue