summaryrefslogtreecommitdiffstats
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/mode/continuous.rs1
-rw-r--r--src/devices/mode/oneshot.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/mode/continuous.rs b/src/devices/mode/continuous.rs
index e90b1ae..cb62f8d 100644
--- a/src/devices/mode/continuous.rs
+++ b/src/devices/mode/continuous.rs
@@ -14,6 +14,7 @@ where
Ok(Ads1x1x {
iface: self.iface,
config: self.config,
+ fsr: self.fsr,
a_conversion_was_started: self.a_conversion_was_started,
_conv: PhantomData,
_ic: PhantomData,
diff --git a/src/devices/mode/oneshot.rs b/src/devices/mode/oneshot.rs
index de7e11e..9563286 100644
--- a/src/devices/mode/oneshot.rs
+++ b/src/devices/mode/oneshot.rs
@@ -17,6 +17,7 @@ where
Ok(Ads1x1x {
iface: self.iface,
config: self.config,
+ fsr: self.fsr,
a_conversion_was_started: self.a_conversion_was_started,
_conv: PhantomData,
_ic: PhantomData,