shell: backend: websocket: Fix socket service creation

The NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC() macro was changed
earlier but the compilation error was missed. Fixing the macro
call.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2024-10-25 10:27:32 +03:00 committed by Mahesh Mahadevan
parent 34bb8cb35c
commit 074b5f2ca0
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(shell_websocket, CONFIG_SHELL_WEBSOCKET_INIT_LOG_LEVEL);
static void ws_server_cb(struct net_socket_service_event *evt);
NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC(websocket_server, NULL, ws_server_cb,
NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC(websocket_server, ws_server_cb,
SHELL_WEBSOCKET_SERVICE_COUNT);
static void ws_end_client_connection(struct shell_websocket *ws)