Skip to content

Commit

Permalink
Merge pull request #491 from fleborne/fix/typos
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
nicolas-rabault authored Jun 3, 2024
2 parents 20c75ee + 84d4aaa commit 7f05ee5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/projects/native/gate_wscom/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int main(void)
#endif
Pipe_Init();
Gate_Init();
// Create a thread to convert messages into Json and steam them using Websocket
// Create a thread to convert messages into Json and stream them using Websocket
pthread_t thread_id;
pthread_create(&thread_id, NULL, Gate_Pipe_LoopThread, NULL);
while (1)
Expand Down
2 changes: 1 addition & 1 deletion network/serial_network/src/serial_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
******************************************************************************/

/******************************************************************************
* # Serial Topology management algorythm:
* # Serial Topology management algorithm:
* +------------+--------------+ +--------------+------------+
* | 1st node (master) | | 2nd node |
* +------------+--------------+ +--------------+------------+
Expand Down
8 changes: 4 additions & 4 deletions network/ws_network/src/ws_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
******************************************************************************/

/******************************************************************************
* # WebSocket Topology management algorythm:
* # WebSocket Topology management algorithm:
*
* +----+-----+ +------------+--------------+ +--------------+------------+ +--------------+------------+
* | | | node 1 (master) | | node 2 | | node 3 |
Expand Down Expand Up @@ -40,9 +40,9 @@
* ==> Websocket messages
* --> Function calling
*
* This algorythm is used to detect all the nodes on the network.
* This algorithm is used to detect all the nodes on the network.
* All nodes will be detected as star connection.
* The broker doesn't apear on the Luos_engine architecture, it's just the server allowing to broadcast messages.
* The broker doesn't appear on the Luos_engine architecture, it's just the server allowing to broadcast messages.
*
******************************************************************************/

Expand Down Expand Up @@ -215,7 +215,7 @@ error_return_t Ws_RunTopology(luos_phy_t *phy_ptr, uint8_t *portId)
static uint8_t port_id = 0;
if (ping_status == PING_RECEIVED)
{
// We already received a ping on this phy, we need to send an end message indicating that this branche is done
// We already received a ping on this phy, we need to send an end message indicating that this branch is done
uint8_t end = END;
WsHAL_Send(&end, 1);
// Consider this branch as done
Expand Down

0 comments on commit 7f05ee5

Please sign in to comment.