Skip to content

Commit

Permalink
fix_unexpected_sleep_at_init
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-Jhong committed Dec 26, 2024
1 parent 810a230 commit 0c51c4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion meta-facebook/minerva-ag/src/platform/plat_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@ void init_cpld_polling(void)
cpld_polling_tid = k_thread_create(
&cpld_polling_thread, cpld_polling_stack, K_THREAD_STACK_SIZEOF(cpld_polling_stack),
poll_cpld_registers, NULL, NULL, NULL, CONFIG_MAIN_THREAD_PRIORITY, 0,
K_MSEC(3000)); //sleep for 3 seconds to prevent dc status changing when reboot BIC
K_MSEC(2000)); //sleep for 3 seconds to prevent dc status changing when reboot BIC
k_thread_name_set(&cpld_polling_thread, "cpld_polling_thread");
}
1 change: 0 additions & 1 deletion meta-facebook/minerva-ag/src/platform/plat_mctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ void plat_mctp_init(void)
mctp_reg_msg_rx_func(p->mctp_inst, mctp_msg_recv);

mctp_start(p->mctp_inst);
k_msleep(5000);
}
}

Expand Down

0 comments on commit 0c51c4b

Please sign in to comment.