mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-30 13: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
|
/// PWM pin config
|
||||||
///
|
///
|
||||||
/// This configures the pwm pin settings
|
/// This configures the pwm pin settings
|
||||||
|
#[derive(Debug, Copy, Clone)]
|
||||||
|
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||||
pub struct PwmPinConfig {
|
pub struct PwmPinConfig {
|
||||||
/// PWM Pin output type
|
/// PWM Pin output type
|
||||||
pub output_type: OutputType,
|
pub output_type: OutputType,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user