diff options
| -rw-r--r-- | embassy-stm32/src/adc/v3.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs index 55fe70f72..51e1e654b 100644 --- a/embassy-stm32/src/adc/v3.rs +++ b/embassy-stm32/src/adc/v3.rs | |||
| @@ -495,7 +495,7 @@ impl<'d, T: Instance> Adc<'d, T> { | |||
| 495 | reg.set_vbaten(true); | 495 | reg.set_vbaten(true); |
| 496 | }); | 496 | }); |
| 497 | 497 | ||
| 498 | Vbat { } | 498 | Vbat {} |
| 499 | } | 499 | } |
| 500 | 500 | ||
| 501 | #[cfg(any(adc_g0, adc_u0))] | 501 | #[cfg(any(adc_g0, adc_u0))] |
| @@ -567,7 +567,7 @@ impl<'d> Adc<'d, peripherals::ADC2> { | |||
| 567 | } | 567 | } |
| 568 | } | 568 | } |
| 569 | 569 | ||
| 570 | Vbat { } | 570 | Vbat {} |
| 571 | } | 571 | } |
| 572 | 572 | ||
| 573 | pub fn disable_vbat(&self) { | 573 | pub fn disable_vbat(&self) { |
