23#include <zephyr/kernel.h>
47 if (k_work_submit_to_queue(&
mpsl_work_q, work) < 0) {
48 __ASSERT(
false,
"k_work_submit_to_queue() failed.");
72 if (k_work_schedule_for_queue(&
mpsl_work_q, dwork, delay) < 0) {
73 __ASSERT(
false,
"k_work_schedule_for_queue() failed.");
static void mpsl_work_schedule(struct k_work_delayable *dwork, k_timeout_t delay)
Submit an idle work item to the MPSL workqueue after a delay.
Definition mpsl_work.h:70
struct k_work_q mpsl_work_q
static void mpsl_work_submit(struct k_work *work)
Submit a work item to the MPSL workqueue.
Definition mpsl_work.h:45