remove unnecessary mod
@@ -71,7 +71,6 @@ impl<T: Instance> super::sealed::AdcPin<T> for Vbat {
}
}
-mod sample_time {
/// ADC sample time
///
/// The default setting is 3 ADC clock cycles.
@@ -107,9 +106,6 @@ mod sample_time {
Self::Cycles3
}
}
-}
-
-pub use sample_time::SampleTime;
pub struct Adc<'d, T: Instance> {
sample_time: SampleTime,
