mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 06:40:32 +00:00
fixed build after rebase
This commit is contained in:
parent
dbc1818acd
commit
777e0c71c9
@ -257,8 +257,8 @@ impl<'d, T: Instance> Adc<'d, T> {
|
|||||||
#[cfg(any(adc_h5, adc_h7rs))]
|
#[cfg(any(adc_h5, adc_h7rs))]
|
||||||
reg.set_ovsr(samples.into());
|
reg.set_ovsr(samples.into());
|
||||||
#[cfg(not(any(adc_h5, adc_h7rs)))]
|
#[cfg(not(any(adc_h5, adc_h7rs)))]
|
||||||
reg.set_ovsr(samples);
|
reg.set_ovsr(samples.into());
|
||||||
reg.set_ovss(right_shift);
|
reg.set_ovss(right_shift.into());
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user