Skip to content
Commit f61ce349 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Josh Lilly
Browse files

shell: shell_uart: reinstate multi-instance macro



Reinstate the `SHELL_UART_DEFINE` macro and moved the struct
declarations to header file, making it possible to create
another UART shell backend instance by doing
`SHELL_UART_DEFINE()` + `SHELL_DEFINE()` + `shell_init()`.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 3bdd91a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment