diff options
| author | Jacob Rosenthal <[email protected]> | 2021-10-31 23:00:33 -0700 |
|---|---|---|
| committer | Jacob Rosenthal <[email protected]> | 2021-10-31 23:13:49 -0700 |
| commit | 78e382c9aa421b8319dcf1c9ea44ae046c1a019d (patch) | |
| tree | 368ec634e9fb534d5ee54c8d50882bd8cb28f4d0 /examples | |
| parent | 96df2fdb4343c701549bc77fa9bb06352e439f81 (diff) | |
stop->sequence_stop
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf/src/bin/pwm_simple_sin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf/src/bin/pwm_simple_sin.rs b/examples/nrf/src/bin/pwm_simple_sin.rs index 3fbfc960f..c7d85381b 100644 --- a/examples/nrf/src/bin/pwm_simple_sin.rs +++ b/examples/nrf/src/bin/pwm_simple_sin.rs | |||
| @@ -38,7 +38,7 @@ async fn main(_spawner: Spawner, p: Peripherals) { | |||
| 38 | 38 | ||
| 39 | Timer::after(Duration::from_millis(20000)).await; | 39 | Timer::after(Duration::from_millis(20000)).await; |
| 40 | 40 | ||
| 41 | pwm.stop(); | 41 | pwm.sequence_stop(); |
| 42 | info!("pwm stopped!"); | 42 | info!("pwm stopped!"); |
| 43 | 43 | ||
| 44 | loop { | 44 | loop { |
