fix #2 remove println
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-03-19 11:37:36 +00:00
parent e95701dd84
commit a63b1d8074

View File

@ -161,8 +161,6 @@ impl Render {
self.ws = Some(Ws2812Rpi::new(current_pos as i32, PIN).unwrap());
println!("Here");
Ok(())
}
@ -321,6 +319,7 @@ impl Render {
if time - self.last_update < 500 {
println!("To Fast! Skiping");
return;
}
self.last_update = time;
@ -328,7 +327,7 @@ impl Render {
let lerp_data: Vec<RGB<f64>> = data.iter().zip(&self.last).map(|(d, l)| l.lerp(d, delta as f64)).collect();
println!("d:{:?}\n l:{:?}", data[25], lerp_data[25]);
//println!("d:{:?}\n l:{:?}", data[25], lerp_data[25]);
let to_set_data: Vec<RGB<u8>> = rgbs_f64_to_u8(&lerp_data);