Removed unrequired clone

This commit is contained in:
huntc 2022-02-04 19:18:10 +11:00
parent 3b2beddc7a
commit 81d31e43eb

View file

@ -31,7 +31,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
p.PWM0, p.P0_13, NoPin, NoPin, NoPin, config,
));
let sequence = Sequence::new(&seq_words, seq_config.clone());
let sequence = Sequence::new(&seq_words, seq_config);
let sequencer = SingleSequencer::new(&mut pwm, sequence);
unwrap!(sequencer.start(SingleSequenceMode::Times(1)));