mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Add Clone & Copy on embassy_nrf::gpio::Level
This commit is contained in:
parent
7add0eafb8
commit
2c8080b0ae
@ -70,7 +70,7 @@ impl<'d, T: Pin> Input<'d, T> {
|
||||
}
|
||||
|
||||
/// Digital input or output level.
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub enum Level {
|
||||
/// Logical low.
|
||||
|
Loading…
Reference in New Issue
Block a user