How would I set up a task that, say, turns a led on and off every second, in a device driver (module)? I've tried using rtdm_task_init
and it successfully sets the task, but when I use rtdm_task_wait_period
, it returns -EINVAL (meaning it's not seen as periodic by the system).