diff --git a/runtime/src/recovery_flow.rs b/runtime/src/recovery_flow.rs index 7a96d7e583..711de0a30b 100644 --- a/runtime/src/recovery_flow.rs +++ b/runtime/src/recovery_flow.rs @@ -65,7 +65,7 @@ impl RecoveryFlow { // notify MCU that it can boot // TODO: get the correct value for this - dma_recovery.set_mci_flow_status(123); + dma_recovery.set_mci_flow_status(123)?; // we're done with recovery dma_recovery.set_recovery_status(DmaRecovery::RECOVERY_STATUS_SUCCESSFUL)?; diff --git a/sw-emulator/lib/bus/src/bus.rs b/sw-emulator/lib/bus/src/bus.rs index ac64450d1d..5684cfb75d 100644 --- a/sw-emulator/lib/bus/src/bus.rs +++ b/sw-emulator/lib/bus/src/bus.rs @@ -17,12 +17,14 @@ use crate::Event; use caliptra_emu_types::{RvAddr, RvData, RvSize}; use std::{rc::Rc, sync::mpsc}; +#[allow(unused)] pub trait EventListener { fn incoming_event(&mut self, _event: Rc) { // By default, do nothing } } +#[allow(unused)] pub trait EventSender { fn register_outgoing_events(&mut self, _sender: mpsc::Sender) { // By default, do nothing