From b10a51a3bdabe7c7f414608d1fe6a546840912d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Mon, 24 Apr 2023 20:19:12 +0200 Subject: [PATCH] spinor: make hosted and non-hosted `new()` signature the same --- services/spinor/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/spinor/src/lib.rs b/services/spinor/src/lib.rs index 134ab8f0e..875398dfb 100644 --- a/services/spinor/src/lib.rs +++ b/services/spinor/src/lib.rs @@ -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]); } -} \ No newline at end of file +}