Set spi target to main
This commit is contained in:
@ -167,7 +167,7 @@ unsafe fn flash_inner(ec: &mut Ec<StdTimeout>, firmware: &Firmware, target: SpiT
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn flash(path: &str) -> Result<(), Error> {
|
unsafe fn flash(path: &str) -> Result<(), Error> {
|
||||||
let target = SpiTarget::Backup;
|
let target = SpiTarget::Main;
|
||||||
let scratch = true;
|
let scratch = true;
|
||||||
|
|
||||||
//TODO: remove unwraps
|
//TODO: remove unwraps
|
||||||
|
Reference in New Issue
Block a user