A common pattern here was to take the work item as the subfield of a containing object. But the contained field is not a k_work, it's a k_work_delayable. Things were working only because the work field was first, so the pointers had the same value. Do things right and fix things to produce correct code if/when that field ever moves within delayable. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com> |
||
|---|---|---|
| .. | ||
| big_http_download | ||
| can | ||
| coap_client | ||
| coap_server | ||
| dumb_http_server | ||
| dumb_http_server_mt | ||
| echo | ||
| echo_async | ||
| echo_async_select | ||
| echo_client | ||
| echo_server | ||
| http_client | ||
| http_get | ||
| net_mgmt | ||
| packet | ||
| sntp_client | ||
| socketpair | ||
| tcp | ||
| txtime | ||
| websocket_client | ||