Pass a pointer to the work item member rather than casting the augmented work item pointer to a base work item pointer. Also the return type of k_work_pending() is bool, so use that rather than comparing it to zero. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||