Merge pull request #4173 from phycrax/derive-for-pwmpincfg
[embassy-stm32] Derive Debug, Clone, Copy, defmt::Format for simple_pwm::PwmPinConfig
This commit is contained in:
commit
2a27aa828c
@ -31,6 +31,8 @@ pub struct PwmPin<'d, T, C> {
|
||||
/// PWM pin config
|
||||
///
|
||||
/// This configures the pwm pin settings
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub struct PwmPinConfig {
|
||||
/// PWM Pin output type
|
||||
pub output_type: OutputType,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user