Skip to content

Commit

Permalink
gateware.usb.usb2,device: Fixed a check for whether a bus translator …
Browse files Browse the repository at this point in the history
…is in use or not
  • Loading branch information
dragonmux committed Apr 17, 2024
1 parent 3c6fe6d commit df698f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sol_usb/gateware/usb/usb2/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def elaborate(self, platform):
m = Module()

# If we have a bus translator, include it in our submodules.
if self.translator:
if self.translator is not None:
m.submodules.translator = self.translator


Expand Down

0 comments on commit df698f1

Please sign in to comment.