Update comm_usb.py

typo : csr_csr replaced by csr_csv
This commit is contained in:
Acathla-fr 2021-01-26 12:34:08 +01:00 committed by GitHub
parent ed1da7ed1e
commit a092d5b28f
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