diff --git a/tool/src/main.rs b/tool/src/main.rs index fe07f1e..04d737f 100644 --- a/tool/src/main.rs +++ b/tool/src/main.rs @@ -167,7 +167,7 @@ unsafe fn flash_inner(ec: &mut Ec, firmware: &Firmware, target: SpiT } unsafe fn flash(path: &str) -> Result<(), Error> { - let target = SpiTarget::Backup; + let target = SpiTarget::Main; let scratch = true; //TODO: remove unwraps