Skip to content

Commit 074b5f2

Browse files
jukkarmmahadevan108
authored andcommitted
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 <[email protected]>
1 parent 34bb8cb commit 074b5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/shell/backends/shell_websocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(shell_websocket, CONFIG_SHELL_WEBSOCKET_INIT_LOG_LEVEL);
2626

2727
static void ws_server_cb(struct net_socket_service_event *evt);
2828

29-
NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC(websocket_server, NULL, ws_server_cb,
29+
NET_SOCKET_SERVICE_SYNC_DEFINE_STATIC(websocket_server, ws_server_cb,
3030
SHELL_WEBSOCKET_SERVICE_COUNT);
3131

3232
static void ws_end_client_connection(struct shell_websocket *ws)

0 commit comments

Comments
 (0)