Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed Jun 17, 2024
1 parent a2e7ace commit ca2dc90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/C/src/lib/WebSocketServer.lf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* initial_file = {= LF_SOURCE_DIRECTORY LF_FILE_SEPARATOR "filename.html" =}
* )
* ```

*
* When a connection is established with a client, an output is produced on the `connected` port
* that is a struct with a unique `wsi` (web socket interface) for the client and a boolean
Expand Down
5 changes: 2 additions & 3 deletions examples/C/src/sdv/ParkingAssist.lf
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ reactor Dashboard {
state connection: bool = false

s = new WebSocketServerString(
hostport=8080,
initial_file = {= LF_SOURCE_DIRECTORY LF_FILE_SEPARATOR "ParkingAssist.html" =}
)
hostport=8080,
initial_file = {= LF_SOURCE_DIRECTORY LF_FILE_SEPARATOR "ParkingAssist.html" =})

reaction(speed, front_distance) -> s.in_dynamic {=
// Ignore the inputs if we are not connected.
Expand Down

0 comments on commit ca2dc90

Please sign in to comment.