mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
cleanup warnings
This commit is contained in:
parent
54894e852b
commit
68400551c5
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
use core::convert::TryInto;
|
use core::convert::TryInto;
|
||||||
|
|
||||||
|
#[allow(unused_imports)]
|
||||||
use bao1x_api::{
|
use bao1x_api::{
|
||||||
CP_ID, IFR_CP_ID_BASE, IFR_HASH, SERIAL_NUMBER, SLOT_ELEMENT_LEN_BYTES, SlotIndex, SlotType, UUID,
|
CP_ID, IFR_CP_ID_BASE, IFR_HASH, SERIAL_NUMBER, SLOT_ELEMENT_LEN_BYTES, SlotIndex, SlotType, UUID,
|
||||||
};
|
};
|
||||||
|
|
@ -160,6 +161,7 @@ fn check_and_fix_acls(rram: &mut Reram, slot_mgr: &mut SlotManager, slot_list: &
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "print-ifr")]
|
||||||
fn print_slots(slot_mgr: &SlotManager, slot_list: &[SlotIndex]) {
|
fn print_slots(slot_mgr: &SlotManager, slot_list: &[SlotIndex]) {
|
||||||
for slot in slot_list.iter() {
|
for slot in slot_list.iter() {
|
||||||
let access = slot.get_access_spec();
|
let access = slot.get_access_spec();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue