Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
David-OConnor committed Jan 25, 2024
1 parent 8d1ae2d commit cdd0802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ macro_rules! hal {
// ...The software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which
// ensures that no conversion is ongoing)."
// todo: On H7, allow disabling boost, either manually, or by checking the clock speed.
#[cfg(any(feature = "h7", not(feature = "h753")))]
#[cfg(all(feature = "h7", not(feature = "h753")))]
result.regs.cr.modify(|_, w| w.boost().bits(1));

#[cfg(feature = "h753")]
Expand Down

0 comments on commit cdd0802

Please sign in to comment.