From 1d50a04cad9847a437dfc9c54959afa8ed9d5bcc Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Sat, 19 Nov 2022 22:21:20 +0100 Subject: [PATCH] fixup! feat(core/rust): homescreen background --- core/embed/rust/src/ui/model_tt/component/hs_render.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/ui/model_tt/component/hs_render.rs b/core/embed/rust/src/ui/model_tt/component/hs_render.rs index 5f2b7b24fe..6c874365c4 100644 --- a/core/embed/rust/src/ui/model_tt/component/hs_render.rs +++ b/core/embed/rust/src/ui/model_tt/component/hs_render.rs @@ -173,7 +173,7 @@ fn homescreen_line_blurred( icon_data: &mut [u8], text_buffer: &mut BufferText, text_info: HomescreenTextInfo, - totals: [[u16; HOMESCREEN_IMAGE_SIZE as usize]; COLORS], + totals: &[[u16; HOMESCREEN_IMAGE_SIZE as usize]; COLORS], y: i16, ) -> bool { let t_buffer = unsafe { get_buffer_4bpp((y & 0x1) as u16, true) }; @@ -443,7 +443,7 @@ pub fn homescreen_blurred(data: &[u8], texts: Vec) { &mut icon_data, text_buffer, text_info, - avgs_totals, + &avgs_totals, HOMESCREEN_IMAGE_SCALE * y + i, );