mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix typo
This commit is contained in:
parent
601d2763e8
commit
b021a1bcd3
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ impl Spim {
|
||||||
4096,
|
4096,
|
||||||
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
||||||
)
|
)
|
||||||
.expect("couldn't map serial port");
|
.expect("couldn't map spim channel");
|
||||||
#[cfg(target_os = "xous")]
|
#[cfg(target_os = "xous")]
|
||||||
let csr = CSR::new(csr_range.as_mut_ptr() as *mut u32);
|
let csr = CSR::new(csr_range.as_mut_ptr() as *mut u32);
|
||||||
#[cfg(not(target_os = "xous"))]
|
#[cfg(not(target_os = "xous"))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue