Skip to content

Commit

Permalink
reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajSadel committed Feb 25, 2025
1 parent e3544c6 commit f873834
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion espflash/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,12 @@ impl Connection {
}
}
}
_ => println!("Unsupported chip for watchdog reset {:?}", chip),
_ => {
return Err(Error::UnsupportedFeature {
chip,
feature: "watchdog reset".into(),
})
}
}

Ok(())
Expand Down

0 comments on commit f873834

Please sign in to comment.