Fix idle_kernel typo in config #210

Merged
sb10q merged 1 commits from esavkin/artiq-zynq:204-idle-kernel-typo into master 2023-01-03 11:03:11 +08:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 44ef13d1c0 - Show all commits

View File

@ -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") {
Outdated
Review

Isn't there the same problem right here with the startup kernel?

Isn't there the same problem right here with the startup kernel?

That's right, fixed

That's right, fixed
info!("Loading startup kernel...");
if let Ok(()) = task::block_on(load_kernel(&buffer, &control, None)) {
info!("Starting startup kernel...");