diff options
| author | Caleb Jamison <[email protected]> | 2023-05-09 17:55:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-09 17:55:27 -0400 |
| commit | 9d971e5b150e2ebe51570040ea59e3ccdbef7b17 (patch) | |
| tree | 153a70e9123bbbd876f3a4b08659181d83ccec89 /examples/stm32f0/src/bin/button_controlled_blink.rs | |
| parent | 5cfe1a1fb40470dfaf256fc87989fd67884113f1 (diff) | |
| parent | 856b944eaf20bbd5f1625226415af210a28af89a (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'examples/stm32f0/src/bin/button_controlled_blink.rs')
| -rw-r--r-- | examples/stm32f0/src/bin/button_controlled_blink.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f0/src/bin/button_controlled_blink.rs b/examples/stm32f0/src/bin/button_controlled_blink.rs index e1f223433..f362c53f5 100644 --- a/examples/stm32f0/src/bin/button_controlled_blink.rs +++ b/examples/stm32f0/src/bin/button_controlled_blink.rs | |||
| @@ -17,8 +17,8 @@ static BLINK_MS: AtomicU32 = AtomicU32::new(0); | |||
| 17 | 17 | ||
| 18 | #[embassy_executor::task] | 18 | #[embassy_executor::task] |
| 19 | async fn led_task(led: AnyPin) { | 19 | async fn led_task(led: AnyPin) { |
| 20 | // Configure the LED pin as a push pull ouput and obtain handler. | 20 | // Configure the LED pin as a push pull output and obtain handler. |
| 21 | // On the Nucleo F091RC theres an on-board LED connected to pin PA5. | 21 | // On the Nucleo F091RC there's an on-board LED connected to pin PA5. |
| 22 | let mut led = Output::new(led, Level::Low, Speed::Low); | 22 | let mut led = Output::new(led, Level::Low, Speed::Low); |
| 23 | 23 | ||
| 24 | loop { | 24 | loop { |
