Add copy to Level enum in embassy-rp gpio module
This commit is contained in:
		@@ -16,7 +16,7 @@ const NEW_AW: AtomicWaker = AtomicWaker::new();
 | 
				
			|||||||
static INTERRUPT_WAKERS: [AtomicWaker; PIN_COUNT] = [NEW_AW; PIN_COUNT];
 | 
					static INTERRUPT_WAKERS: [AtomicWaker; PIN_COUNT] = [NEW_AW; PIN_COUNT];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// Represents a digital input or output level.
 | 
					/// Represents a digital input or output level.
 | 
				
			||||||
#[derive(Debug, Eq, PartialEq, Clone)]
 | 
					#[derive(Debug, Eq, PartialEq, Clone, Copy)]
 | 
				
			||||||
pub enum Level {
 | 
					pub enum Level {
 | 
				
			||||||
    Low,
 | 
					    Low,
 | 
				
			||||||
    High,
 | 
					    High,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user