cleanup warning

This commit is contained in:
bunnie 2025-12-19 16:07:49 +08:00
parent 0c18c62d0a
commit 1e4e9694e9

View file

@ -14,7 +14,6 @@ use utralib::*;
use crate::platform::usb::page_defrag::PageAssembler;
use crate::uf2::Uf2Block;
use crate::usb;
pub(crate) static SECTOR: Mutex<RefCell<Uf2Sector>> = Mutex::new(RefCell::new(Uf2Sector::new(0)));
pub type PageCallback = fn(usize, Box<[u8; SPINOR_ERASE_SIZE as usize]>);
@ -107,6 +106,8 @@ pub fn write_spim_page(addr: usize, data: Box<[u8; SPINOR_ERASE_SIZE as usize]>)
pub fn setup() -> (UsbDeviceState, u32) {
/*
use crate::usb;
crate::println!(
"RAM disk starts at {:x} and advertises {}kiB in length, but is actually {}kiB of storage",
usb::RAMDISK_ADDRESS,