s
This commit is contained in:
parent
f9a37e46d1
commit
bcb5271194
1 changed files with 4 additions and 2 deletions
|
@ -21,10 +21,12 @@ fn main() {
|
|||
.strip_type(StripType::Ws2812)
|
||||
.brightness(BRIGHTNESS)
|
||||
.build()
|
||||
.expect("Could not construct LED Channel.");
|
||||
)
|
||||
.build().unwrap();
|
||||
.build()
|
||||
.expect("Could not construct LED Controller.");
|
||||
loop {
|
||||
let lights = lock_c.read().unwrap();
|
||||
let lights = lock_c.read().expect("Could not read array lock.");
|
||||
run_lights(&mut controller, &lights);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue