Skip to content

Commit fe4e190

Browse files
committed
update
1 parent cdd0802 commit fe4e190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,10 @@ macro_rules! hal {
433433
// ...The software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which
434434
// ensures that no conversion is ongoing)."
435435
// todo: On H7, allow disabling boost, either manually, or by checking the clock speed.
436-
#[cfg(all(feature = "h7", not(feature = "h753")))]
436+
#[cfg(all(feature = "h7", not(any(feature = "h743", feature = "h753"))))]
437437
result.regs.cr.modify(|_, w| w.boost().bits(1));
438438

439-
#[cfg(feature = "h753")]
439+
#[cfg(any(feature = "h743", feature = "h753"))]
440440
result.regs.cr.modify(|_, w| w.boost().bit(true));
441441

442442
result.enable();

0 commit comments

Comments
 (0)