mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
spinor: make hosted and non-hosted new() signature the same
This commit is contained in:
parent
7062c46032
commit
b10a51a3bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue