We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ImageFormatKind
FromStr
1 parent b25af06 commit 6542405Copy full SHA for 6542405
espflash/src/image_format/mod.rs
@@ -82,7 +82,7 @@ impl FromStr for ImageFormatKind {
82
83
fn from_str(s: &str) -> Result<Self, Self::Err> {
84
match s {
85
- "bootloader" => Ok(Self::EspBootloader),
+ "esp-bootloader" => Ok(Self::EspBootloader),
86
"direct-boot" => Ok(Self::DirectBoot),
87
_ => Err(Error::UnknownImageFormat(s.into())),
88
}
0 commit comments