cleanup a couple of remaining debug prints

boot chain is closing in on feature-complete
This commit is contained in:
bunnie 2025-12-19 15:56:19 +08:00
parent f287ce457c
commit 88cbdbe076
2 changed files with 3 additions and 1 deletions

View file

@ -80,7 +80,7 @@ pub unsafe extern "C" fn rust_entry() -> ! {
let mut board_type =
one_way.get_decoded::<bao1x_api::BoardTypeCoding>().expect("Board type coding error");
crate::println_d!("TX_IDLE: {:?}", crate::platform::usb::TX_IDLE.load(Ordering::SeqCst));
// crate::println_d!("TX_IDLE: {:?}", crate::platform::usb::TX_IDLE.load(Ordering::SeqCst));
let perclk: u32;
(board_type, perclk) = crate::platform::early_init(board_type);
// ensure we're running off the PLL

View file

@ -106,12 +106,14 @@ pub fn write_spim_page(addr: usize, data: Box<[u8; SPINOR_ERASE_SIZE as usize]>)
}
pub fn setup() -> (UsbDeviceState, u32) {
/*
crate::println!(
"RAM disk starts at {:x} and advertises {}kiB in length, but is actually {}kiB of storage",
usb::RAMDISK_ADDRESS,
usb::RAMDISK_LEN / 1024,
usb::RAMDISK_ACTUAL_LEN / 1024,
);
*/
// safety: this is safe because we're calling this before any access to `USB` static mut
// state, and we also understand that the .data section doesn't exist in the loader and