summaryrefslogtreecommitdiffstats
path: root/src/devices/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/common.rs')
-rw-r--r--src/devices/common.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/devices/common.rs b/src/devices/common.rs
index 5fed33f..53cb050 100644
--- a/src/devices/common.rs
+++ b/src/devices/common.rs
@@ -37,19 +37,4 @@ where
};
Ok(!config.is_high(BitFlags::OS))
}
-
- /// Reset the internal state of this driver to the default values.
- ///
- /// *Note:* This does not alter the state or configuration of the device.
- ///
- /// This resets the cached configuration register value in this driver to
- /// the power-up (reset) configuration of the device.
- ///
- /// This needs to be called after performing a reset on the device, for
- /// example through an I2C general-call Reset command, which was not done
- /// through this driver to ensure that the configurations in the device
- /// and in the driver match.
- pub fn reset_internal_driver_state(&mut self) {
- self.config = Config::default();
- }
}