fix hosted mode

This commit is contained in:
bunnie 2022-07-19 05:28:32 +08:00
parent 7ad418be7c
commit 6ea88dedee

View file

@ -343,7 +343,7 @@ mod implementation {
}
pub fn should_prompt_for_update(&self) -> bool {true}
pub fn set_prompt_for_update(&self, _state: bool) {}
pub fn write_backup(&mut self, header: BackupHeader, backup_ct: backups::BackupDataCt) -> Result<(), xous::Error> {
pub fn write_backup(&mut self, mut header: BackupHeader, backup_ct: backups::BackupDataCt) -> Result<(), xous::Error> {
header.op = BackupOp::Backup;
log::info!("backup header: {:?}", header);
log::info!("backup ciphertext: {:x?}", backup_ct.as_ref());