Refactor: Factor out SampleTime

This commit is contained in:
Grant Miller
2022-10-26 00:31:46 -05:00
parent 61560e740d
commit a5b1d2237f
6 changed files with 123 additions and 256 deletions

View File

@ -8,8 +8,13 @@
#[cfg_attr(adc_v1, path = "v1.rs")]
mod _version;
#[cfg(not(adc_v1))]
mod sample_time;
#[allow(unused)]
pub use _version::*;
#[cfg(not(adc_v1))]
pub use sample_time::SampleTime;
use crate::peripherals;