summaryrefslogtreecommitdiffstats
path: root/src/devices/mod.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-17 14:47:31 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-17 14:47:31 +0100
commit6d454af22b9058765677e0190ebb8f57176a671a (patch)
tree600b670bb8564adc217eabdb3ee987a3193e8eab /src/devices/mod.rs
parent04d8362113e3dc382a8a063ffa652bee6345fa61 (diff)
downloadads1x1x-async-6d454af22b9058765677e0190ebb8f57176a671a.tar.gz
ads1x1x-async-6d454af22b9058765677e0190ebb8f57176a671a.tar.xz
ads1x1x-async-6d454af22b9058765677e0190ebb8f57176a671a.zip
Make types copyable
Diffstat (limited to 'src/devices/mod.rs')
-rw-r--r--src/devices/mod.rs1
1 files changed, 1 insertions, 0 deletions
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