We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931e9ba commit 6887fcbCopy full SHA for 6887fcb
src/comparator.rs
@@ -393,7 +393,7 @@ macro_rules! impl_comparator {
393
positive_input.setup(&self);
394
negative_input.setup(&self);
395
// Delay for scaler voltage bridge initialization for certain negative inputs
396
- let voltage_scaler_delay = clocks.sys_clk.0 / (1_000_000 / 200); // 200us
+ let voltage_scaler_delay = clocks.sys_clk.raw() / (1_000_000 / 200); // 200us
397
cortex_m::asm::delay(voltage_scaler_delay);
398
self.csr().modify(|_, w| unsafe {
399
w.hyst()
0 commit comments