From e012a0a1d7f5f0c46b3d4cc1136160c1762cb63b Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 17 Nov 2018 08:06:25 +0100 Subject: Add FSR to device struct --- src/devices/mode/continuous.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/devices/mode/continuous.rs') 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, -- cgit v1.2.3-54-g00ecf