summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:03:24 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 09:03:24 +0100
commita3d5c32751c3d95923e098bbb262e964e023833d (patch)
tree68f59c0ac7c4661fb51f26886cab93f9bc68aea2 /src
parent589223e6d30097a3127bee00a92e06cf45f3ce47 (diff)
downloadads1x1x-async-a3d5c32751c3d95923e098bbb262e964e023833d.tar.gz
ads1x1x-async-a3d5c32751c3d95923e098bbb262e964e023833d.tar.xz
ads1x1x-async-a3d5c32751c3d95923e098bbb262e964e023833d.zip
Make type copyable
Diffstat (limited to 'src')
-rw-r--r--src/devices/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/mod.rs b/src/devices/mod.rs
index 5edbf1c..e5124e1 100644
--- a/src/devices/mod.rs
+++ b/src/devices/mod.rs
@@ -1,4 +1,4 @@
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
enum OperatingMode {
OneShot,
Continuous