aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32
diff options
context:
space:
mode:
authoremkanea-dev <[email protected]>2025-07-25 20:53:04 +0200
committeremkanea-dev <[email protected]>2025-07-25 20:53:04 +0200
commit777e0c71c99fde779cf91c364849ac6906cb3d97 (patch)
tree3634a51d152f4744864ecb26c6dd33c1aa0551ef /embassy-stm32
parentdbc1818acd69e2e15ac574356c9b07cb717df441 (diff)
fixed build after rebase
Diffstat (limited to 'embassy-stm32')
-rw-r--r--embassy-stm32/src/adc/v3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs
index 805dae564..a2e42fe52 100644
--- a/embassy-stm32/src/adc/v3.rs
+++ b/embassy-stm32/src/adc/v3.rs
@@ -257,8 +257,8 @@ impl<'d, T: Instance> Adc<'d, T> {
257 #[cfg(any(adc_h5, adc_h7rs))] 257 #[cfg(any(adc_h5, adc_h7rs))]
258 reg.set_ovsr(samples.into()); 258 reg.set_ovsr(samples.into());
259 #[cfg(not(any(adc_h5, adc_h7rs)))] 259 #[cfg(not(any(adc_h5, adc_h7rs)))]
260 reg.set_ovsr(samples); 260 reg.set_ovsr(samples.into());
261 reg.set_ovss(right_shift); 261 reg.set_ovss(right_shift.into());
262 }) 262 })
263 } 263 }
264 /* 264 /*