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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| gsm_mux.c | ||
| gsm_mux.h | ||
| ipm_console_receiver.c | ||
| ipm_console_sender.c | ||
| ipm_console.c | ||
| Kconfig | ||
| Kconfig.gsm_mux | ||
| native_posix_console.c | ||
| ram_console.c | ||
| rtt_console.c | ||
| semihost_console.c | ||
| uart_console.c | ||
| uart_mcumgr.c | ||
| uart_mux_internal.h | ||
| uart_mux.c | ||
| uart_pipe.c | ||
| xtensa_sim_console.c | ||