Skip to content

Commit

Permalink
Fix future lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Feb 27, 2025
1 parent ca4881c commit e678912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/recovery_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down
2 changes: 2 additions & 0 deletions sw-emulator/lib/bus/src/bus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Event>) {
// By default, do nothing
}
}

#[allow(unused)]
pub trait EventSender {
fn register_outgoing_events(&mut self, _sender: mpsc::Sender<Event>) {
// By default, do nothing
Expand Down

0 comments on commit e678912

Please sign in to comment.