summaryrefslogtreecommitdiffstats
path: root/src/devices/mode/oneshot.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-11 17:42:15 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-11 17:42:15 +0100
commit3779cf1770e1be03d60623d965f5e56897fbfa43 (patch)
tree9b2c39df847e0cbc2b2ba9a7b93f7712a25140f6 /src/devices/mode/oneshot.rs
parentfce3d8546bd619964ec5dd1594cd93e744a99521 (diff)
downloadads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.tar.gz
ads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.tar.xz
ads1x1x-async-3779cf1770e1be03d60623d965f5e56897fbfa43.zip
Avoid unnecessary type
Diffstat (limited to 'src/devices/mode/oneshot.rs')
-rw-r--r--src/devices/mode/oneshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/mode/oneshot.rs b/src/devices/mode/oneshot.rs
index e8aa533..de7e11e 100644
--- a/src/devices/mode/oneshot.rs
+++ b/src/devices/mode/oneshot.rs
@@ -18,7 +18,7 @@ where
iface: self.iface,
config: self.config,
a_conversion_was_started: self.a_conversion_was_started,
- converter: self.converter,
+ _conv: PhantomData,
_ic: PhantomData,
_mode: PhantomData
})