From 6a583a5f0ca093c8d1b64cc4c81481b66f36da0b Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 14 Jun 2022 01:25:41 +0800 Subject: [PATCH] the system as writ does not actually allocate an extra connection Adjust the connection number back to 4. There isn't a connection made for a keyboard backlight server anymore. This is necessary for root key initialization to proceed. --- services/keyboard/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/keyboard/src/main.rs b/services/keyboard/src/main.rs index 6178a2b92..c3f3f5aad 100644 --- a/services/keyboard/src/main.rs +++ b/services/keyboard/src/main.rs @@ -739,10 +739,9 @@ fn main() -> ! { // - graphics (if building for hosted mode) // - oqc (for factory test) // - status sub system (for setting the layout) - // - keyboard-backlight (to start backlight when a key is pressed) // - USB (for getting layout) #[cfg(any(target_os = "none", target_os = "xous"))] - let kbd_sid = xns.register_name(api::SERVER_NAME_KBD, Some(6)).expect("can't register server"); + let kbd_sid = xns.register_name(api::SERVER_NAME_KBD, Some(4)).expect("can't register server"); #[cfg(not(any(target_os = "none", target_os = "xous")))] let kbd_sid = xns.register_name(api::SERVER_NAME_KBD, Some(5)).expect("can't register server"); log::trace!("registered with NS -- {:?}", kbd_sid);