diff --git a/rp2040-hal/src/pwm/mod.rs b/rp2040-hal/src/pwm/mod.rs index f92e549..ef04d35 100644 --- a/rp2040-hal/src/pwm/mod.rs +++ b/rp2040-hal/src/pwm/mod.rs @@ -80,9 +80,9 @@ use core::marker::PhantomData; use crate::{ gpio::{ - bank0::*, FunctionClock, FunctionI2C, FunctionPio0, FunctionPio1, FunctionPwm, FunctionSpi, - FunctionUart, FunctionUsbAux, FunctionXip, Input, InputConfig, Output, OutputConfig, Pin, - PinId, PinMode, ValidPinMode, + bank0::*, Disabled, DisabledConfig, FunctionClock, FunctionI2C, FunctionPio0, FunctionPio1, + FunctionPwm, FunctionSpi, FunctionUart, FunctionUsbAux, FunctionXip, Input, InputConfig, + Output, OutputConfig, Pin, PinId, PinMode, ValidPinMode, }, resets::SubsystemReset, typelevel::Sealed, @@ -509,6 +509,7 @@ impl NonPwmPinMode for FunctionUsbAux {} impl NonPwmPinMode for FunctionXip {} impl NonPwmPinMode for Input {} impl NonPwmPinMode for Output {} +impl NonPwmPinMode for Disabled {} /// Stores the attached gpio pin. ///