mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 12:50:37 +00:00
derive debug copy clone defmt for pwmpinconfig
This commit is contained in:
parent
6c6ae4f9fc
commit
bd3b3b4526
@ -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