Add clone to embassy_rp::gpio::Level
This commit is contained in:
parent
41a563aae3
commit
1626a4a74b
@ -16,7 +16,7 @@ const NEW_AW: AtomicWaker = AtomicWaker::new();
|
||||
static INTERRUPT_WAKERS: [AtomicWaker; PIN_COUNT] = [NEW_AW; PIN_COUNT];
|
||||
|
||||
/// Represents a digital input or output level.
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
pub enum Level {
|
||||
Low,
|
||||
High,
|
||||
|
Loading…
Reference in New Issue
Block a user