diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/channels.rs | 1 | ||||
-rw-r--r-- | src/devices/mod.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/channels.rs b/src/channels.rs index 5b0d4d4..f88e10e 100644 --- a/src/channels.rs +++ b/src/channels.rs @@ -22,6 +22,7 @@ pub mod channel { pub struct DifferentialA2A3; } +#[derive(Debug, Clone, Copy)] pub enum ChannelSelection { SingleA0, SingleA1, diff --git a/src/devices/mod.rs b/src/devices/mod.rs index 95d8907..9db7b79 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -1,5 +1,6 @@ //! Functions for all devices +#[derive(Debug, Clone, Copy)] enum OperatingMode { OneShot, Continuous |