This commit is contained in:
bunnie 2025-11-26 20:46:54 +08:00
parent 601d2763e8
commit b021a1bcd3

View file

@ -318,7 +318,7 @@ impl Spim {
4096,
xous::MemoryFlags::R | xous::MemoryFlags::W,
)
.expect("couldn't map serial port");
.expect("couldn't map spim channel");
#[cfg(target_os = "xous")]
let csr = CSR::new(csr_range.as_mut_ptr() as *mut u32);
#[cfg(not(target_os = "xous"))]