spinor: make hosted and non-hosted new() signature the same

This commit is contained in:
Gianguido Sorà 2023-04-24 20:19:12 +02:00
parent 7062c46032
commit b10a51a3bd

View file

@ -26,7 +26,7 @@ pub struct Spinor {
}
impl Spinor {
#[cfg(test)]
pub fn new() -> Self {
pub fn new(_: &xous_names::XousNames) -> Self {
Spinor { conn: 0, token: [0, 0, 0, 0] }
}
@ -805,4 +805,4 @@ mod tests {
print!("wrong {:x?}\n", &EMU_FLASH.lock().unwrap()[0x27e000..0x27e100]);
}
}
}