Skip to content

Commit

Permalink
Cleanup and add missing ws init
Browse files Browse the repository at this point in the history
  • Loading branch information
K0rdan committed Feb 15, 2024
1 parent ad05c33 commit e4cf2e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
25 changes: 0 additions & 25 deletions examples/projects/browser/led/src/main.js

This file was deleted.

1 change: 1 addition & 0 deletions network/ws_network/HAL/BROWSER/ws_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void WsHAL_ReceptionWeb(const std::vector<uint8_t> &data)

[[cheerp::genericjs]] void WsHAL_InitWeb()
{
clientWebsocket = new WebSocket(s_url);
clientWebsocket->addEventListener(
"open",
cheerp::Callback(openEventCallback));
Expand Down

0 comments on commit e4cf2e2

Please sign in to comment.