diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-17 14:47:31 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-17 14:47:31 +0100 |
commit | 6d454af22b9058765677e0190ebb8f57176a671a (patch) | |
tree | 600b670bb8564adc217eabdb3ee987a3193e8eab /src/devices/mod.rs | |
parent | 04d8362113e3dc382a8a063ffa652bee6345fa61 (diff) | |
download | ads1x1x-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.rs | 1 |
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 |