diff options
| author | Emilie Burgun <[email protected]> | 2024-03-26 16:33:41 +0100 |
|---|---|---|
| committer | Emilie Burgun <[email protected]> | 2024-03-26 16:33:41 +0100 |
| commit | ca998c170f18c252e0d4c5a6aed1085113c27dd0 (patch) | |
| tree | 800f9740e656b3c4bd784251ad014b5df57adcd2 | |
| parent | 64964bd61444838f2e6a99fcde7ef8fc39b1f0c8 (diff) | |
Missing half of the implementation detail comment
| -rw-r--r-- | embassy-stm32/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index 05b1ff045..ab6ef8ef4 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs | |||
| @@ -286,7 +286,8 @@ pub fn init(config: Config) -> Peripherals { | |||
| 286 | { | 286 | { |
| 287 | crate::pac::PWR.cr2().modify(|w| { | 287 | crate::pac::PWR.cr2().modify(|w| { |
| 288 | // The official documentation states that we should ideally enable VDDIO2 | 288 | // The official documentation states that we should ideally enable VDDIO2 |
| 289 | // through the PVME2 bit, but it looks like this bit | 289 | // through the PVME2 bit, but it looks like this isn't required, |
| 290 | // and CubeMX itself skips this step. | ||
| 290 | w.set_iosv(config.enable_independent_io_supply); | 291 | w.set_iosv(config.enable_independent_io_supply); |
| 291 | }); | 292 | }); |
| 292 | } | 293 | } |
