diff --git a/src/patches/hpm53.rs b/src/patches/hpm53.rs index d975cba..9efc48c 100644 --- a/src/patches/hpm53.rs +++ b/src/patches/hpm53.rs @@ -3,8 +3,11 @@ use crate::pac::sysctl::vals::AnaClkMux; use crate::pac::SYSCTL; impl_ana_clock_periph!(ADC0, ANA0, ADC0, adcclk, 0); +#[cfg(not(feature = "hpm5301"))] impl_ana_clock_periph!(ADC1, ANA1, ADC1, adcclk, 1); +#[cfg(not(feature = "hpm5301"))] impl_ana_clock_periph!(DAC0, ANA2, DAC0, dacclk, 0); +#[cfg(not(feature = "hpm5301"))] impl_ana_clock_periph!(DAC1, ANA3, DAC1, dacclk, 1); #[cfg(peri_qei0)]