mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup some debug output & fix ref link
This commit is contained in:
parent
602ef2d8a4
commit
e1c07cbf0b
4 changed files with 7 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ bao1x = [
|
|||
"utralib/bao1x",
|
||||
"linked_list_allocator",
|
||||
"bao1x-hal/loader-baosec",
|
||||
"bao1x-hal/debug-print-duart",
|
||||
# "bao1x-hal/debug-print-duart",
|
||||
"bao1x-api",
|
||||
# needed for the boot logo
|
||||
"ux-api/loader-baosec",
|
||||
|
|
|
|||
|
|
@ -186,11 +186,13 @@ impl Uf2Sector {
|
|||
/// Takes in a slice of incoming data, and a notional "disk address" into which it should be writing
|
||||
pub fn extend_from_slice(&mut self, address: usize, slice: &[u8]) -> (Option<Self>, Option<Uf2Block>) {
|
||||
if address != self.address + self.progress {
|
||||
/*
|
||||
crate::println!(
|
||||
"Resetting sector address tracker, expected {:x} got {:x}",
|
||||
self.address + self.progress,
|
||||
address
|
||||
);
|
||||
*/
|
||||
self.address = address % 512;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -437,7 +437,9 @@ pub fn flush_tx(this: &mut CorigineUsb) {
|
|||
{
|
||||
timeout += 1;
|
||||
if timeout % 20_000 == 0 {
|
||||
crate::println!("txw {}", timeout);
|
||||
// suppress this unless actively debugging because this can pollute the
|
||||
// tx queue with data and eventually cause an overflow
|
||||
// crate::println!("txw {}", timeout);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1010,7 +1010,7 @@ impl Repl {
|
|||
crate::dabao_selftest::dabao_selftest();
|
||||
}
|
||||
"actest" => {
|
||||
let slot_man = bao1x_hal::protected_rram::SlotManager::new();
|
||||
let slot_man = bao1x_hal::acram::SlotManager::new();
|
||||
crate::println!(
|
||||
"Slot 0(d): {:x?}",
|
||||
slot_man.read(&bao1x_api::offsets::SlotIndex::Data(
|
||||
|
|
|
|||
Loading…
Reference in a new issue