mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
Removed unrequired clone
This commit is contained in:
parent
3b2beddc7a
commit
81d31e43eb
@ -31,7 +31,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
|
|||||||
p.PWM0, p.P0_13, NoPin, NoPin, NoPin, config,
|
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);
|
let sequencer = SingleSequencer::new(&mut pwm, sequence);
|
||||||
unwrap!(sequencer.start(SingleSequenceMode::Times(1)));
|
unwrap!(sequencer.start(SingleSequenceMode::Times(1)));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user