Skip to content

Commit 969246e

Browse files
committed
Adding Comments
2 parents af5898a + 226c232 commit 969246e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def plot_lsl_data():
3737
print("No LSL streams found!")
3838
return None
3939

40-
for stream_name in available_streams: # Try to connect to each available stream until successful
40+
for stream_name in available_streams:
4141
print(f"Trying to connect to {stream_name}...")
42-
resolved_streams = resolve_byprop('name', stream_name, timeout=2) # Attempt to resolve the stream by its name
42+
resolved_streams = resolve_byprop('name', stream_name, timeout=2)
4343

4444
if resolved_streams:
4545
print(f"Successfully connected to {stream_name}!")
@@ -52,7 +52,7 @@ def plot_lsl_data():
5252
print("Could not connect to any stream.")
5353
return None
5454

55-
info = inlet.info() # Get stream info.
55+
info = inlet.info()
5656
num_channels = info.channel_count()
5757
print(f"Detected {num_channels} channels.")
5858

0 commit comments

Comments
 (0)