/proc work

This commit is contained in:
zy
2023-11-27 22:22:30 -05:00
parent fd459340a7
commit 5e650478fb
7 changed files with 121 additions and 9 deletions

View File

@@ -304,7 +304,8 @@ enum hrtimer_restart check_variable_cb(struct hrtimer *timer) {
{
k_watch_timer->threshold_num = j;
// restart timer after 5s
hrtimer_forward(timer, timer->base->get_time(), ktime_set(5, 0)); //! todo
hrtimer_forward(timer, timer->base->get_time(),
ktime_set(dump_reset_sec, 0)); //! todo
// highpri_wq
queue_work(system_highpri_wq, &k_watch_timer->wk);
} else {