Skip to content

Commit

Permalink
syncom.py fix bug where verbose was false.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhinch committed Aug 17, 2017
1 parent e7d30a0 commit ef29e33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions syncom_as/syncom.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ def __init__(self, passive, ckin, ckout, din, dout, sig_reset=None,
self._running = False # _run coro is down
self._synchronised = False
self.verbose = verbose
if verbose:
self.idstr = 'passive' if self.passive else 'initiator'
self.idstr = 'passive' if self.passive else 'initiator'

self.ckin = ckin # Interface pins
self.ckout = ckout
Expand Down

0 comments on commit ef29e33

Please sign in to comment.