derive debug copy clone defmt for pwmpinconfig

This commit is contained in:
Süha Ünüvar 2025-05-07 17:14:28 +08:00
parent 6c6ae4f9fc
commit bd3b3b4526

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,