added more logs
This commit is contained in:
parent
d82df637e0
commit
8c4c736555
@ -225,6 +225,8 @@ impl Render {
|
||||
|
||||
pub fn render(&mut self) {
|
||||
|
||||
println!("render");
|
||||
|
||||
if self.ws.is_none() { return; }
|
||||
|
||||
let mut data = vec![RGB8::default(); self.num_leds.try_into().unwrap()];
|
||||
@ -275,6 +277,8 @@ impl Render {
|
||||
|
||||
to_clean.iter().for_each(|i| self.remove_animation(i.to_string()));
|
||||
|
||||
println!("pre-push");
|
||||
|
||||
if self.last.is_empty() || !self.last.clone().iter().eq(data.clone().iter()) {
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user