Skip to content

Commit 6887fcb

Browse files
committed
Update for fugit
1 parent 931e9ba commit 6887fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comparator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ macro_rules! impl_comparator {
393393
positive_input.setup(&self);
394394
negative_input.setup(&self);
395395
// Delay for scaler voltage bridge initialization for certain negative inputs
396-
let voltage_scaler_delay = clocks.sys_clk.0 / (1_000_000 / 200); // 200us
396+
let voltage_scaler_delay = clocks.sys_clk.raw() / (1_000_000 / 200); // 200us
397397
cortex_m::asm::delay(voltage_scaler_delay);
398398
self.csr().modify(|_, w| unsafe {
399399
w.hyst()

0 commit comments

Comments
 (0)