rename error enum again

This commit is contained in:
Jacob Rosenthal
2021-11-02 10:57:01 -07:00
parent 4647792ad6
commit c939edb8d0
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
let pwm = unwrap!(PwmSeq::new(
p.PWM0, p.P0_13, p.P0_15, p.P0_16, p.P0_14, config
));
unwrap!(pwm.start(SequenceMode::Times(5)));
let _ = pwm.start(SequenceMode::Times(5));
info!("pwm started!");
loop {

View File

@ -33,7 +33,7 @@ async fn main(_spawner: Spawner, p: Peripherals) {
};
let pwm = unwrap!(PwmSeq::new(p.PWM0, p.P0_13, NoPin, NoPin, NoPin, config));
unwrap!(pwm.start(SequenceMode::Infinite));
let _ = pwm.start(SequenceMode::Infinite);
info!("pwm started!");
Timer::after(Duration::from_millis(20000)).await;