diff options
Diffstat (limited to 'examples/stm32f0')
| -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 { |
