Skip to content

Commit

Permalink
Make the connect function argument orders same as super class
Browse files Browse the repository at this point in the history
  • Loading branch information
mmouchous-ledger committed Mar 9, 2024
1 parent f36e196 commit dc46cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/scaffold/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2163,13 +2163,13 @@ def __init__(
# Supported FPGA bitstream versions
("0.2", "0.3", "0.4", "0.5", "0.6", "0.7", "0.7.1", "0.7.2", "0.8", "0.9"),
)
self.connect(dev, init_ios, sn)
self.connect(dev, sn, init_ios)

def connect(
self,
dev: Optional[str] = None,
init_ios: bool = False,
sn: Optional[str] = None,
init_ios: bool = False,
):
"""
Connect to Scaffold board using the given serial port.
Expand Down

0 comments on commit dc46cde

Please sign in to comment.