Skip to content

Commit

Permalink
Pin clone type
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed May 5, 2024
1 parent 968a5dd commit e3c4b26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ macro_rules! set_exti_g0 {
}
}

#[derive(Clone)]
/// Represents a single GPIO pin. Allows configuration, and reading/setting state.
pub struct Pin {
/// The GPIO Port letter. Eg A, B, C.
Expand Down

0 comments on commit e3c4b26

Please sign in to comment.