shell: telnet: Update to the new k_work API

Update the shell telnet backend to use the new k_work_delayable API.

Fixes #34100

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
Robert Lubos 2021-04-08 15:36:30 +02:00 committed by Anas Nashif
commit 501c7d17b0
2 changed files with 8 additions and 7 deletions

View file

@ -45,7 +45,7 @@ struct shell_telnet {
* been around for "too long". This will prove to be useful
* to send the shell prompt for instance.
*/
struct k_delayed_work send_work;
struct k_work_delayable send_work;
/** If set, no output is sent to the TELNET client. */
bool output_lock;