diff options
| -rw-r--r-- | embassy-stm32/src/timer/simple_pwm.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/timer/simple_pwm.rs b/embassy-stm32/src/timer/simple_pwm.rs index 54ab7d0d5..8fd7e8df4 100644 --- a/embassy-stm32/src/timer/simple_pwm.rs +++ b/embassy-stm32/src/timer/simple_pwm.rs | |||
| @@ -31,6 +31,8 @@ pub struct PwmPin<'d, T, C> { | |||
| 31 | /// PWM pin config | 31 | /// PWM pin config |
| 32 | /// | 32 | /// |
| 33 | /// This configures the pwm pin settings | 33 | /// This configures the pwm pin settings |
| 34 | #[derive(Debug, Copy, Clone)] | ||
| 35 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | ||
| 34 | pub struct PwmPinConfig { | 36 | pub struct PwmPinConfig { |
| 35 | /// PWM Pin output type | 37 | /// PWM Pin output type |
| 36 | pub output_type: OutputType, | 38 | pub output_type: OutputType, |
