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:
Ulf Lilleengen 2025-05-09 16:48:41 +02:00 committed by GitHub
commit 2a27aa828c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,