Skip to content

Commit

Permalink
Add comment explaining Logic8 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ppannuto committed Jun 17, 2016
1 parent c83b258 commit b01544f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saleae/saleae.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ def get_active_channels(self):
:returns: A 2-tuple of lists of integers, the active digital and analog channels respectively'''
channels = self._cmd('GET_ACTIVE_CHANNELS')
# Work around possible bug in Logic8
# https://github.com/ppannuto/python-saleae/pull/19
while ('TRUE' == channels):
time.sleep(0.1)
channels = self._cmd('GET_ACTIVE_CHANNELS')
Expand Down

0 comments on commit b01544f

Please sign in to comment.