summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.rs1
-rw-r--r--src/devices/mod.rs1
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