fixed build after rebase

This commit is contained in:
emkanea-dev 2025-07-25 20:53:04 +02:00
parent dbc1818acd
commit 777e0c71c9

View File

@ -257,8 +257,8 @@ impl<'d, T: Instance> Adc<'d, T> {
#[cfg(any(adc_h5, adc_h7rs))]
reg.set_ovsr(samples.into());
#[cfg(not(any(adc_h5, adc_h7rs)))]
reg.set_ovsr(samples);
reg.set_ovss(right_shift);
reg.set_ovsr(samples.into());
reg.set_ovss(right_shift.into());
})
}
/*