Loading files
// Copyright 2026 Filip Dymczyk and Konrad Grucel
#include "utils.h"
#include "logger.h"
static Logger<IS_ENABLED(CONFIG_UTILS_LOG)> utils_logger("UTILS_WORKERS");
void
reschedule_work(k_work_delayable* dwork, k_timeout_t delay, char const* desc)
{
int const ret = k_work_reschedule(dwork, delay);
if(ret != 0)
{
utils_logger.platform_log(LOG_LEVEL::ERR, "Can't reschedule %s work, err: %d", desc, ret);
}
}73ceeda1cThis file is pinned to the selected release. Download the original to open it in your design tool.