forked from M-Labs/nac3
Fix idle/startup_kernel typos in config
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
8e0229d265
commit
44ef13d1c0
|
@ -429,8 +429,8 @@ pub fn main(timer: GlobalTimer, cfg: Config) {
|
|||
moninj::start(timer, aux_mutex, drtio_routing_table);
|
||||
|
||||
let control: Rc<RefCell<kernel::Control>> = 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...");
|
||||
|
|
Loading…
Reference in New Issue