drivers: can: loopback: set TX thread name

Set TX thread name to aid in debugging.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2024-07-09 10:48:59 +00:00 committed by Alberto Escolar
parent a4123a8ea2
commit 7a25fbb2d7
1 changed files with 2 additions and 0 deletions

View File

@ -437,6 +437,8 @@ static int can_loopback_init(const struct device *dev)
return -1;
}
k_thread_name_set(tx_tid, dev->name);
return 0;
}