diff --git a/src/lib.rs b/src/lib.rs index 92d61e7..fd08dbf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,7 +16,7 @@ pub struct Neopixel

{ impl

Neopixel

where - P: PinOps + StaticPin, + P: PinOps + StaticPinOps, { #[inline] pub const fn new(_pin: Pin) -> Self { @@ -27,7 +27,7 @@ where impl

SmartLedsWrite for Neopixel

where - P: PinOps + StaticPin, + P: PinOps + StaticPinOps, { type Error = (); type Color = smart_leds::RGB; @@ -50,7 +50,6 @@ where impl

Neopixel

where - P: PinOps + StaticPin, { fn priv_write(&self, data: u8) { let (mut count, mut data, port_data, pin_data) = (8, data, P::read(), 1 << P::PIN_NUM);