Skip to content

Commit 4d0cc5b

Browse files
Fix for Unused global variable (#824)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 82d8689 commit 4d0cc5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python_package/examples/tests/eego_impedances_and_eeg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Get impedance data
1818
board.config_board('impedance_mode:1')
1919
board.start_stream()
20-
for i in range(5):
20+
for _ in range(5):
2121
time.sleep(1)
2222
data = board.get_board_data() # get all data and remove it from internal buffer
2323
print(f'{data.shape[0]} channels x {data.shape[1]} samples')
@@ -26,7 +26,7 @@
2626
# Get EEG data
2727
board.config_board('impedance_mode:0')
2828
board.start_stream()
29-
for i in range(3):
29+
for _ in range(3):
3030
time.sleep(1)
3131
data = board.get_board_data() # get all data and remove it from internal buffer
3232
print(f'{data.shape[0]} channels x {data.shape[1]} samples')

0 commit comments

Comments
 (0)