We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdd0802 commit fe4e190Copy full SHA for fe4e190
src/adc.rs
@@ -433,10 +433,10 @@ macro_rules! hal {
433
// ...The software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which
434
// ensures that no conversion is ongoing)."
435
// todo: On H7, allow disabling boost, either manually, or by checking the clock speed.
436
- #[cfg(all(feature = "h7", not(feature = "h753")))]
+ #[cfg(all(feature = "h7", not(any(feature = "h743", feature = "h753"))))]
437
result.regs.cr.modify(|_, w| w.boost().bits(1));
438
439
- #[cfg(feature = "h753")]
+ #[cfg(any(feature = "h743", feature = "h753"))]
440
result.regs.cr.modify(|_, w| w.boost().bit(true));
441
442
result.enable();
0 commit comments