Skip to content

Commit 1e0dce7

Browse files
committed
Initial ADC support for STM32H735
1 parent a9bd108 commit 1e0dce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ const ADC_KER_CK_MAX: u32 = 36_000_000;
4343
#[cfg(feature = "revision_v")]
4444
const ADC_KER_CK_MAX: u32 = 100_000_000;
4545

46-
#[cfg(not(feature = "rm0455"))]
46+
#[cfg(any(feature = "rm0433", feature = "rm0399"))]
4747
pub type Resolution = crate::stm32::adc3::cfgr::RES_A;
48-
#[cfg(feature = "rm0455")]
48+
#[cfg(any(feature = "rm0455", feature = "rm0468"))]
4949
pub type Resolution = crate::stm32::adc1::cfgr::RES_A;
5050

5151
trait NumberOfBits {

0 commit comments

Comments
 (0)