Skip to content

Commit

Permalink
apio drivers: Bug fixed in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 20, 2024
1 parent 1b9b082 commit d8e4fea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apio/managers/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ def _check_ftdi_driver_darwin(driver):
# pylint: disable=W0703
def _ftdi_enable_windows(self):
drivers_base_dir = util.get_package_dir("tools-drivers")
drivers_bin_dir = str(Path(drivers_base_dir) / "bin")
drivers_share_dir = str(Path(drivers_base_dir) / "share")
zadig_ini_path = str(Path(drivers_share_dir) / "zadig.ini")
drivers_bin_dir = drivers_base_dir / "bin"
drivers_share_dir = drivers_base_dir / "share"
zadig_ini_path = drivers_share_dir / "zadig.ini"
zadig_ini = Path("zadig.ini")

try:
Expand Down
2 changes: 1 addition & 1 deletion apio/resources/distribution.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": {
"drivers": ">=1.1.0,<1.2.0",
"drivers": ">=1.1.0",
"examples": ">=0.0.7",
"gtkwave": ">=3.3.77,<3.4.0",
"oss-cad-suite": ">=0.0.1"
Expand Down

0 comments on commit d8e4fea

Please sign in to comment.