Add commenting to AnimeImage to help with GA402

This commit is contained in:
Luke D. Jones
2022-07-13 21:17:10 +12:00
parent a2c8a226a4
commit e66847c263
4 changed files with 41 additions and 11 deletions

View File

@@ -201,10 +201,8 @@ impl CtrlAnime {
}
// Clear the display on exit
if let Ok(lock) = inner.try_lock() {
let data = AnimeDataBuffer::from_vec(
anime_type,
vec![0u8; anime_type.data_length()],
);
let data =
AnimeDataBuffer::from_vec(anime_type, vec![0u8; anime_type.data_length()]);
lock.write_data_buffer(data);
}
// Loop ended, set the atmonics