diff options
| author | xoviat <[email protected]> | 2025-12-06 16:04:01 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-06 16:04:01 +0000 |
| commit | d136c8e2ff3ef3360f3e56055bcfba5b221e38fa (patch) | |
| tree | 621127da06a10d0e34b5ccba2c2acb28f3032cc3 /embassy-stm32 | |
| parent | 5bc4727cd3a7698e6bc14829c6919476f1744ea4 (diff) | |
| parent | fe4e817b613475dea05ba360641378c48e3467b3 (diff) | |
Merge pull request #4996 from chemicstry/adc_v2_res
Make adc v2 resolution public
Diffstat (limited to 'embassy-stm32')
| -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 { |
