Small correction to times

This commit is contained in:
huntc 2022-02-04 16:48:26 +11:00
parent e9e4d058d1
commit 9e36ede363

View File

@ -55,7 +55,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
loop { loop {
let sequence0 = Sequence::new(&seq_words, seq_config.clone()); let sequence0 = Sequence::new(&seq_words, seq_config.clone());
let sequences = Sequences::new(&mut pwm, sequence0, None); let sequences = Sequences::new(&mut pwm, sequence0, None);
unwrap!(sequences.start(SequenceMode::Times(2))); unwrap!(sequences.start(SequenceMode::Times(1)));
Timer::after(Duration::from_millis(50)).await; Timer::after(Duration::from_millis(50)).await;