From cc8377484e2d9f797ca819fc44fd6c9eaea060e5 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sat, 16 Nov 2024 12:41:10 +0100 Subject: [PATCH] platform: smart_leds: warning-- --- src/platform/smart_leds_lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/smart_leds_lib.rs b/src/platform/smart_leds_lib.rs index c6c3c87..ebbb31e 100644 --- a/src/platform/smart_leds_lib.rs +++ b/src/platform/smart_leds_lib.rs @@ -35,8 +35,8 @@ impl>, S: Surface, const PIXEL_NUM: usize> Sma SmartLedDisplay { pixbuf: [Rgb::new(0, 0, 0); PIXEL_NUM], surfaces: Some(SurfacePool::new()), - target: target, - max_mw: max_mw, + target, + max_mw, pixmap: StrideMapping::new() } }