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() } }