diff --git a/esp-hal-smartled/src/lib.rs b/esp-hal-smartled/src/lib.rs index c6fc98ec8f..fb823776c7 100644 --- a/esp-hal-smartled/src/lib.rs +++ b/esp-hal-smartled/src/lib.rs @@ -84,7 +84,7 @@ macro_rules! smartLedAdapter { // * channels (r,g,b -> 3) // * pulses per channel 8) // ) + 1 additional pulse for the end delimiter - SmartLedsAdapter::<_, $channel, { $buffer_size * 24 + 1 }> + SmartLedsAdapter::<_, { $buffer_size * 24 + 1 }> }; }