diff options
| author | chemicstry <[email protected]> | 2025-12-06 18:00:15 +0200 |
|---|---|---|
| committer | chemicstry <[email protected]> | 2025-12-06 18:00:15 +0200 |
| commit | fe4e817b613475dea05ba360641378c48e3467b3 (patch) | |
| tree | 621127da06a10d0e34b5ccba2c2acb28f3032cc3 | |
| parent | 5bc4727cd3a7698e6bc14829c6919476f1744ea4 (diff) | |
Make adc v2 resolution public
| -rw-r--r-- | embassy-stm32/src/adc/v2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/adc/v2.rs b/embassy-stm32/src/adc/v2.rs index 3c4431ae0..e18098281 100644 --- a/embassy-stm32/src/adc/v2.rs +++ b/embassy-stm32/src/adc/v2.rs | |||
| @@ -71,7 +71,7 @@ fn from_pclk2(freq: Hertz) -> Adcpre { | |||
| 71 | /// ADC configuration | 71 | /// ADC configuration |
| 72 | #[derive(Default)] | 72 | #[derive(Default)] |
| 73 | pub struct AdcConfig { | 73 | pub struct AdcConfig { |
| 74 | resolution: Option<Resolution>, | 74 | pub resolution: Option<Resolution>, |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | impl<T: Instance> super::SealedAnyInstance for T { | 77 | impl<T: Instance> super::SealedAnyInstance for T { |
