From 44ef13d1c0e8a72541a2e430ed7854d8a4dbca7c Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Fri, 23 Dec 2022 16:15:17 +0800 Subject: [PATCH] Fix idle/startup_kernel typos in config Signed-off-by: Egor Savkin --- src/runtime/src/comms.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/src/comms.rs b/src/runtime/src/comms.rs index 504d637d..a3e35441 100644 --- a/src/runtime/src/comms.rs +++ b/src/runtime/src/comms.rs @@ -429,8 +429,8 @@ pub fn main(timer: GlobalTimer, cfg: Config) { moninj::start(timer, aux_mutex, drtio_routing_table); let control: Rc> = Rc::new(RefCell::new(kernel::Control::start())); - let idle_kernel = Rc::new(cfg.read("idle").ok()); - if let Ok(buffer) = cfg.read("startup") { + let idle_kernel = Rc::new(cfg.read("idle_kernel").ok()); + if let Ok(buffer) = cfg.read("startup_kernel") { info!("Loading startup kernel..."); if let Ok(()) = task::block_on(load_kernel(&buffer, &control, None)) { info!("Starting startup kernel...");