diff options
| author | Daniel Nilsson <[email protected]> | 2025-11-14 08:04:58 +0100 |
|---|---|---|
| committer | Daniel Nilsson <[email protected]> | 2025-11-14 08:58:19 +0100 |
| commit | 9fd57c165997bf575517aea0fde98b930b1c893a (patch) | |
| tree | 4d3f0848abdb44cca940ebb54de8d530adb15923 | |
| parent | 2c75390b8cbb9dd815b53130d03fe0803112a6c6 (diff) | |
fixing failed rust fmt ci
| -rw-r--r-- | embassy-stm32/src/adc/v3.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs index 3bda0ae54..55fe70f72 100644 --- a/embassy-stm32/src/adc/v3.rs +++ b/embassy-stm32/src/adc/v3.rs | |||
| @@ -594,7 +594,7 @@ impl<'d> Adc<'d, peripherals::ADC2> { | |||
| 594 | reg.set_op0(true); | 594 | reg.set_op0(true); |
| 595 | }); | 595 | }); |
| 596 | 596 | ||
| 597 | VddCore { } | 597 | VddCore {} |
| 598 | } | 598 | } |
| 599 | } | 599 | } |
| 600 | 600 | ||
| @@ -614,7 +614,7 @@ impl<'d> Adc<'d, peripherals::ADC1> { | |||
| 614 | // to stabilize the internal voltage reference. | 614 | // to stabilize the internal voltage reference. |
| 615 | blocking_delay_us(15); | 615 | blocking_delay_us(15); |
| 616 | 616 | ||
| 617 | VrefInt { } | 617 | VrefInt {} |
| 618 | } | 618 | } |
| 619 | 619 | ||
| 620 | pub fn enable_temperature(&self) -> Temperature { | 620 | pub fn enable_temperature(&self) -> Temperature { |
| @@ -634,6 +634,6 @@ impl<'d> Adc<'d, peripherals::ADC1> { | |||
| 634 | } | 634 | } |
| 635 | } | 635 | } |
| 636 | 636 | ||
| 637 | Temperature { } | 637 | Temperature {} |
| 638 | } | 638 | } |
| 639 | } | 639 | } |
