mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup warning
This commit is contained in:
parent
0c18c62d0a
commit
1e4e9694e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue