Merge pull request #784 from Acathla-fr/patch-1

Update comm_usb.py
This commit is contained in:
enjoy-digital 2021-01-26 14:36:07 +01:00 committed by GitHub
commit 7479cbe71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ from litex.tools.remote.csr_builder import CSRBuilder
# CommUSB ------------------------------------------------------------------------------------------ # CommUSB ------------------------------------------------------------------------------------------
class CommUSB(CSRBuilder): class CommUSB(CSRBuilder):
def __init__(self, vid=None, pid=None, max_retries=10, csr_csr=None, debug=False): def __init__(self, vid=None, pid=None, max_retries=10, csr_csv=None, debug=False):
CSRBuilder.__init__(self, comm=self, csr_csv=csr_csv) CSRBuilder.__init__(self, comm=self, csr_csv=csr_csv)
self.vid = vid self.vid = vid
self.pid = pid self.pid = pid