Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix removed kernel version for PROS 3 projects #359

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pros/conductor/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,12 @@ def new_project(self, path: str, no_default_libs: bool = False, **kwargs) -> Pro
if not no_default_libs:
libraries = self.early_access_libraries if proj.use_early_access and (kwargs.get("version", ">").startswith("4") or kwargs.get("version", ">").startswith(">")) else self.default_libraries

version = kwargs['version'][0]
for library in libraries[proj.target]:
if kwargs['version'][0] == '>' or kwargs['version'][0] == '4':
if version == '>' or version == '4':
if library == "okapilib":
continue
if kwargs['version'][0] != '>' and kwargs['version'][0] != '4':
if version != '>' and version != '4':
if library == "liblvgl":
continue
try:
Expand Down
Loading