Skip to content

Commit

Permalink
Fixed the pythont test script so it really will test every board inst…
Browse files Browse the repository at this point in the history
…ead of just the first one.
  • Loading branch information
testing committed Mar 19, 2019
1 parent b10e0e6 commit 8c93e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ print("Count: ",count)
boards = usbrelay_py.board_details()
print("Boards: ",boards)
if(len(boards)>0):
board = boards[0]
for board in boards:
print("Board: ",board)
relay = 1
while(relay < board[1]+1):
Expand Down
3 changes: 1 addition & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
boards = usbrelay_py.board_details()
print("Boards: ",boards)

if(len(boards)>0):
board = boards[0]
for board in boards:
print("Board: ",board)
relay = 1
while(relay < board[1]+1):
Expand Down

0 comments on commit 8c93e50

Please sign in to comment.